I have a cron job scheduled to delete the entire folder that holds the statsicts text:
Code: Select all
* 14 * * * rm -rf /home/shianne/eggdrop/scripts/dbase
What am I missing here? What do I need to do? Thanks.
Code: Select all
* 14 * * * rm -rf /home/shianne/eggdrop/scripts/dbase
Code: Select all
1 14 * * * /home/shianne/eggdrop/scripts/restart.tcl
Code: Select all
restart
Code: Select all
* 13 * * * rm -rf /home/shianne/eggdrop/scripts/dbase
1 13 * * * /home/shianne/eggdrop/scripts/restart.tcl
crontab will try to run executable files. A typical example would be an executable bash script file.Landslyde wrote:Code: Select all
1 13 * * * /home/shianne/eggdrop/scripts/restart.tcl
Code: Select all
bind cron - {1 13 * * *} restart:cron
proc restart:cron {min hour day month weekday} {
restart
}