support

Cronjob to reset trixbox each night

ant
Posts: 34
Member Since:
2006-06-03

My latest install gets jammed up only occasionally, with some lines not hanging up correctly with my TDM400, and occasionally the FOP flashes red. (V2.4)
As a work around until I do a re-install of the latest version, I'd like to reset the the box each night with a cron script so we have a clean slate each day.
Has someone got a suitable cron script to use?

Many thanks!
Ant



phk
Posts: 40
Member Since:
2007-08-20
add following command

to reboot your box everyday add the following cron job :

* * * * * /sbin/shutdown -r now (replacing the first two * by minutes hours) - for example

30 1 * * * /sbin/shutdown -r now would reboot your box everyday at 1:30 a.m.

phil



kennywest
Posts: 2
Member Since:
2007-01-13
Where?

So what file do you add this line in?? I had this working once in crontab but it stopped after upgrade to 2.6.1



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.