[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Cron errors?
- Subject: Re: [cobalt-users] Cron errors?
- From: baltimoremd@xxxxxxxxxxxxxxx
- Date: Tue Jan 30 01:29:33 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> > It helped me in some ways :). But, the problem isn't solved. I tried the
> > following:
> >
> > Created a textfile "crontest" with the standard cronjobs. Then:
Not that I'm a whiz kid....
In the root directory of the site /home/sites/site_number
create a file called crontest with all your commands
Example
dir ) you must use full paths to the program
ls ) i.e., /home/sites/home/web/cgi-pub/somescript.pl
pwd )
then type chmod a+x crontest
then type
./crontest
If the commands run...then create a file called cronme
Example
01 05 * * * /home/sites/site5/crontest
this tells cron to run crontest at 5.01 am
Now, since you don't want to mess with vi (the default editor) you
could get slick and type
crontab cronme
That way, the content of cronme becomes your cronjob
thom
usual disclaimers apply
././././././././././././././././././././././././././././././././././././././
baltimoremd@xxxxxxxxxxxxxxx Thom LaCosta K3HRN Webmaster
http://www.baltimoremd.com/ Baltimore's Home Page
http://www.baltimorehon.com/ Home of the Baltimore Lexicon
http://www.zerobeat.net Home of The QRP Web Ring
and Drake Mail List Pages