DOH!!! <Insert kicking myself here>... Thanks, that was incredibly dumb, and I can believe it took me a month of looking and I didn't find it... Sometimes the smallest silliest things will get ya! Cheers, Richard. Richard Whittaker, CISSP System Manager NorthwesTel Inc. Whitehorse, YK (867) 393-7756
"Ken Schneider"
06/12/03 06:05PM >>>
-----Original Message-----
From: "Richard Whittaker"
Greetings:
I'm trying to setup a shell script to run regularly, and thus far, all my quests for information have turned up dry, so I am hoping this list will provide what I seek..
I have this shell script, demonstrating the attendant permissions:
shaggy:~ # cat archmrtg.sh #!/bin/sh export FILEDATE=`date +%m%d%Y` export ARCHDIR=$1"archive/"$FILEDATE
mkdir $ARCHDIR cp $1index.html $ARCHDIR cp $1*day.png $ARCHDIR You have new mail in /var/mail/root shaggy:~ # ls -l archmrtg* -rwxr--r-- 1 root root 132 Jun 12 17:16 archmrtg.sh shaggy:~ #
...I am trying to run this file in CRON with this crontab entry:
31 17 * * * * /root/archmrtg.sh /db/shaggy_oravl01/opt/apache/htdocs/servers/laurel/
One to many * in the cron entry, there are only five fields for the date and time settings. Ken -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com