cron random_delay globally?

Discussion in 'General' started by mikerogers, May 10, 2016.

  1. mikerogers

    mikerogers Member

    I host a small web based autoresponder service with about 175 or so clients.
    I have each clients cron job set to run every 15 minutes. With that many jobs running at once, it causes a spike in load.
    I am trying to negate this by utilizing the "random_delay" option in cron. Is there a simple way to do this in the cron config globally similar to the way it's done in the /etc/anacrontab file?
    I need it for nearly every cron job on this particular server, so a global option would be best. I assume I could do it by manually editing each cron entry in "/etc/cron.d" but I'm not sure if that would cause an issue with ISPConfig's GUI interface or not. It would be nice if this could be done in ISPConfig's interface on a per client basis.
    Running: ISPConfig, CentOS6.x64
    Any suggestions, ideas, etc?
    Thanks in advance
    Last edited: May 10, 2016

Share This Page