need to restart cron
This commit is contained in:
parent
d8bdb4bdba
commit
c721ff7b9e
|
@ -21,11 +21,9 @@ http://gitorious.org/sn/scripts/trees/master/mobots/df.conf.sample
|
|||
add a line like this to your /etc/crontab (here the script is executed all 2 minutes)
|
||||
*/2 * * * * root /bin/bash --login /path/to/the/script/df.sh /path/to/configfile/df.conf >> /path/to/logfile/df.log
|
||||
|
||||
after this you have to restart your cron with something like
|
||||
service cron restart
|
||||
|
||||
of course there are several ways to create a cronjob but this is probably the easiest way
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
any questions? mail me! (david@socialnerds.org)
|
||||
|
|
Loading…
Reference in New Issue