crontab and sleep commands ** solved **
Posted: Thu Mar 27, 2008 4:33 am
I noticed that the section where Meteohub writes in the crontab uses many sleep commands which delay the running of these jobs.
I've asked Meteohub to created and upload graphs at certain times throughout the hour and day, but Meteohub is delaying the job by 1-4 minutes from when I schedule them.
The FTP upload command is set to run every 5 minutes, but Meteohub adds another 240 seconds to the job and delay's getting my graphs posted by 4 minutes.
Can these sleep commands be turned off in a future version so the user can better control when jobs take place? I understand this is to protect Meteohub from getting overloaded by jobs at once, but maybe there could be a check box to turn this \"overload protection\" off and on.
It's just frustrating to find that my FTP uploads aren't going out when they should and my graphs aren't being generated when expected.
Thanks.
I've asked Meteohub to created and upload graphs at certain times throughout the hour and day, but Meteohub is delaying the job by 1-4 minutes from when I schedule them.
The FTP upload command is set to run every 5 minutes, but Meteohub adds another 240 seconds to the job and delay's getting my graphs posted by 4 minutes.
Can these sleep commands be turned off in a future version so the user can better control when jobs take place? I understand this is to protect Meteohub from getting overloaded by jobs at once, but maybe there could be a check box to turn this \"overload protection\" off and on.
It's just frustrating to find that my FTP uploads aren't going out when they should and my graphs aren't being generated when expected.
Thanks.