Link to home
Start Free TrialLog in
Avatar of duncan_deborde
duncan_deborde

asked on

Performance of jobs run from cron

I have some long-running scheduled jobs run from cron. I find that if I run exactly the same job form the command line using nohup, I get soemthing like 20 - 25 % performance improvement. Why is the same job slower when runnign from cron, and how can I make cron as fast as nohup from the command line?
Avatar of stefan73
stefan73
Flag of Germany image

Hi duncan_deborde,
Do you have the job scheduled so that several jobs are running in parallel?

Cheers,

Stefan
Avatar of duncan_deborde
duncan_deborde

ASKER

I am only running one job at a time, either from cron or the command line.

Duncan
ASKER CERTIFIED SOLUTION
Avatar of mdhmi
mdhmi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
or prepend the job by nice command in your crontab, see
  man nice