[ZendTo] Re: Cron jobs overwritten by upgrade

Jules Jules at Zend.To
Thu Jul 9 17:07:20 BST 2015


Greg,

Thanks for that!

I've just updated the cron jobs in the main source, so the next version 
will fix that for you. Your cron lines are much better than mine. :-)

Cheers,
Jules.


On 09/07/2015 03:59, Greg Clarke wrote:
> 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
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> -- 
> Julian Field MEng MBCS CITP CEng
>
> 'Think globally, act locally.' - Friends of the Earth
>
> www.Zend.To
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20150709/f42d98e0/attachment.html 


More information about the ZendTo mailing list