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

Re: Problems getting crontab to execute my script



On Sat, 2002-06-15 at 11:55, Søren Neigaard wrote:
> I have made a script that restarts a Java app., and I have no trouble
> running it manually. But when I try to run it with crontab, nothing
> happends!?
> 
> Here is my crontab line (as root):
> 
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /projects/proximus/bin/restart_proximus.sh
> 
> Should this not call my script every 5 minutes?
> 
> --
> Med venlig hilsen/Best regards,
>  Søren Neigaard mailto:neigaard@e-box.dk
> --
>  "First we thought the PC was a calculator. Then we found out how to turn numbers into letters with ASCII ? and we thought it was a typewriter. Then we discovered graphics, and we thought it was a television. With the World Wide Web, we've realized it's a brochure."
Hi,

Maybe defining java classpath and other env variables in the script
would help.

HTH,


Shri


-- 


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: