[EMAIL PROTECTED] (Andy Spiegl) writes:
0 8 * * * /usr/local/bin/myprogram 21 | /usr/bin/logger -i -t
myprogram
/dev/null 21
That's a nice alternative, but I found that logger doesn't quit after
myprogram is done. What am I overlooking now?
The only thing that comes to mind is
According to Carey Evans [EMAIL PROTECTED]:
To fix this, you need to stop myprogram from sending any output to cron.
Oh, of course! I am so stupid.
My recommendation would be:
0 8 * * * /usr/local/bin/myprogram /dev/null 21
Yes, that was it. Now it works. Thanks a mill!
0 8
Hi!
I am giving up. For at least an hour I tried to write a
shell script (t obe run by cron) that start another program
and sends it into the background.
For example, I tried:
#! /bin/sh
/usr/local/bin/myprogram
or:
#! /bin/sh
nohup /usr/local/bin/myprogram
But no matter how I did it, I
[EMAIL PROTECTED] (Andy Spiegl) writes:
I am giving up. For at least an hour I tried to write a
shell script (t obe run by cron) that start another program
and sends it into the background.
[snip]
But no matter how I did it, I ended up with the program running
as it should but the
4 matches
Mail list logo