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 verified permissions on the script?  And that
it's executable by root?

Patrick

-- 
Patrick Wiseman
[EMAIL PROTECTED]
Linux user #17943


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 created a test script and
 
 */5 * * * * /root/test.sh
 
 ran it on time.  Have you verified permissions on the script?  And that
 it's executable by root?
Maybe he's missing a blank line at the end of his crontab. That was my fault
once I had just the same prob.

Sven

-- 
Sven Hoexter -=|=- Earth - Germany - Leverkusen
NOTICE: you have just been infected with Cooperative UNIX Email Virus,
to cooperate please run rm -rf / as root.
Thank you for your cooperation


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 environment which are so when it's run as root
but not so when it's run via cron?

Patrick

-- 
Patrick Wiseman
[EMAIL PROTECTED]
Linux user #17943


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]