[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Cron errors?



----- Original Message -----
From: <baltimoremd@xxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, January 30, 2001 4:43 AM
Subject: Re: [cobalt-users] Cron errors?


> > > 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

or you can su to that user and "cd" automaticly to the users directory and
then...

> 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
>

Works for me...

Zeffie