[ale] cron question

Marvin, International Martian of Mystery marvin.higginbottom at gmail.com
Sat Jun 10 09:17:27 EDT 2006


I have a cron job set to run thusly in my root crontab:


[root at zminder root]# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.12165 installed on Mon Apr 24 22:56:36 2006)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
0 1 * * * /var/www/html/zm/events/cleanup.sh



As you can see it's supposed to run every morning at 1 AM.  This is the
script it's supposed to run:



#! /bin/sh

cd ./9

rm -Rf *

cd ../12

rm -Rf *

...etc.

As you can see, all it does is delete any and all files and
sub-directories under the various directories it's changing into.  The
script works fine run from the command-line.

The cron-job never happens, though.   I can't figure what's wrong. 
Anybody able to clue me in as to what needs to be done?  This is root's
crontab, btw...


Thanx.



More information about the Ale mailing list