Re: cron problem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chris Bennett <chris@...>
Cc: <misc@...>
Date: Thursday, July 2, 2009 - 1:01 pm

On Thu, 02 Jul 2009 10:27:46 -0500
Chris Bennett wrote:

> I had an odd problem with cron.

Hi,

The command in cron is executed by the defined $SHELL.
The semicolon means run each part after one another, without caring for
the exitstatus of the previous.
With ksh you'd want to connect the parts with a single ampersand so
they are "executed in the background".
Just have a look at the manpage for whatever shell you use in that
crontab.

- Robert

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cron problem, Chris Bennett, (Thu Jul 2, 11:27 am)
Re: cron problem, Frank Bax, (Thu Jul 2, 12:36 pm)
Re: cron problem, steve szmidt, (Thu Jul 2, 2:41 pm)
Re: cron problem, Chris Bennett, (Thu Jul 2, 4:05 pm)
Re: cron problem, Frank Bax, (Thu Jul 2, 4:36 pm)
Re: cron problem, Chris Bennett, (Fri Jul 3, 8:03 am)
Re: cron problem, Robert, (Thu Jul 2, 1:01 pm)
Re: cron problem, Randal L. Schwartz, (Thu Jul 2, 12:33 pm)