Thank you, Tom for valuable info and Simon for solution.



On Sun, Nov 12, 2017 at 1:41 PM, Simon Mousey Smith <simonsmith5521@gmail.com> wrote:
Hi,

I just the following to update every 6 hours but change accordingly

MAILTO=“simon@xxxxx.com"
1 */6 * * * root date && svn update /opt/observium && /opt/observium/discovery.php -u && date

Regards

Simon

> On 12 Nov 2017, at 06:46, Edvinas K <edvinas.email@gmail.com> wrote:
>
> Hello,
>
> How to automate SVN update ?
>
> In crontab im adding this:
>
> #svn update
> 5 5 * * * root "cd /opt/observium/;svn update >> /dev/null 2>&1"
>
> #after svn upadte
> 5 9 * * * root /opt/observium/discovery.php -u >> /dev/null 2>&1
>
> but seems like first line doesn't work.
>
> Any help?
>
>
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium