Re[6]: Problems getting crontab to execute my script

2002-06-15 Thread Søren Neigaard
Saturday, June 15, 2002, 5:24:15 PM, Patrick wrote: PW> On Sat, 15 Jun 2002, Søren Neigaard wrote: >> It is executable by all now, and it still does not work :( Here is my >> script, it calls other scripts, but that's ok right? >> >> ./killproximus.sh >> mv /var/log/proximus_log /var/log/proximu

Re: Problems getting crontab to execute my script

2002-06-15 Thread Shri Shrikumar
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 * * * * > /pr

Re: Re[2]: Problems getting crontab to execute my script

2002-06-15 Thread Patrick Wiseman
On Sat, 15 Jun 2002, Sven Hoexter wrote: > Maybe he's missing a blank line at the end of his crontab. That was my fault > once I had just the same prob. We've already been through that :) cron runs in a very impoverished environment; perhaps the script is making some assumptions about the enviro

Re: Re[2]: Problems getting crontab to execute my script

2002-06-15 Thread Sven Hoexter
On Sat, Jun 15, 2002 at 10:42:27AM -0400, Patrick Wiseman wrote: > On Sat, 15 Jun 2002, Søren Neigaard wrote: Hi, > > As I remember crontab used to mail root is there was any problems, but > > I get no mails, and my script does not run!? Any ideas? > > I'm not sure what to suggest. I just creat

Re: Re[2]: Problems getting crontab to execute my script

2002-06-15 Thread Patrick Wiseman
On Sat, 15 Jun 2002, Søren Neigaard wrote: > As I remember crontab used to mail root is there was any problems, but > I get no mails, and my script does not run!? Any ideas? I'm not sure what to suggest. I just created a test script and */5 * * * * /root/test.sh ran it on time. Have you verif

Re[2]: Problems getting crontab to execute my script

2002-06-15 Thread Søren Neigaard
Saturday, June 15, 2002, 2:47:23 PM, Patrick wrote: PW> On Sat, 15 Jun 2002, Søren Neigaard wrote: >> 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? PW> You

Re: Problems getting crontab to execute my script

2002-06-15 Thread Patrick Wiseman
On Sat, 15 Jun 2002, Søren Neigaard wrote: > 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? You can use */5 instead of your list, for every 5 minutes; and make sur

Problems getting crontab to execute my script

2002-06-15 Thread Søren Neigaard
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 sc