[ZendTo] Cron jobs overwritten by upgrade

Greg Clarke gclarke at waikato.ac.nz
Thu Jul 9 03:59:19 BST 2015


Hi there

Just upgraded and noticed that the cron jobs in /etc/cron.d/zendto were
overwritten.

Due to daylight-saving adjustments occurring between 2:00am and 3:00am I
avoid that period for cron tasks.  In addition I filter the output to get
rid of the annoying error message about time and in the case of the graph
generation only get an email when an error occurs.

My zendto cron file:

5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php
/opt/zendto/config/preferences.php
1 1 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php
/opt/zendto/config/preferences.php 2>&1 | /bin/grep -v 'illegal attempt to
update using time'
3 3 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php
/opt/zendto/config/preferences.php 2>&1 | sed \$d | /bin/grep -v '481x188'



Thanks and have a good day



Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150709/89cf0b57/attachment.html 


More information about the ZendTo mailing list