Forum OpenACS Development: Re: Error: Not able to checkout the "cronjob" package

Collapse
Posted by Iqbal Shirol on
Hey Dave,

I know that we can set these things. but what i wanted to minimize, is the load on nsd. As this will run the scheduled cronjob_run proc every minute to check whether there is a cronjob alloted for that time.

So please let me know how can i reduce the effort of knowing about the cronjobs alloted in a particular time span. Instead of this we can run the cronjob_run proc on a paricular required date. Is this possible??

Collapse
Posted by Gustaf Neumann on
Your performace concerns are not necessary. The cronjob package has to check regularly, what jobs have to be run at a particular time; to check every minute is very reasonable. This check is very fast and won't kill the performance of your machine. It will run your job only at the specified time.

You can certainly reduce the effort and modify the cron package to run the check e.g. only every hour (or whatever), but this is not worth the effort and won't be noticable on any installation i know.