1
1
Fork 0
This commit is contained in:
David Starzengruber 2010-07-09 00:40:29 +02:00
parent 1209f97a44
commit 434a585e82
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ http://gitorious.org/sn/scripts/trees/master/mobots/df.conf.sample
add a line like this to your /etc/crontab
*/2 * * * * root /bin/bash --login /path/to/the/script/df.sh /path/to/configfile/df.conf >> /path/to/logfile/df.log
or (if you use the default configpath /etc/mobots)
*/5 * * * * root /bin/bash --login /path/to/script/df.sh >> /var/log/df.log
*/5 * * * * root /bin/bash --login /path/to/script/df.sh >> /var/log/mobots/df.log
the logdirectory must exist
after this you have to restart your cron with something like
service cron restart