Cron Problem

Hello,

I’m having problems with a system that uses cron to run a script every
12 hours. The problem is that everything will work for quite a few days
and then without any indication of a problem it stops. I see no evidence
that the script is actually being executed when it does stop, unless
EVERY command in the script failed. The script copies and bunch of files
and removes a file others, etc. At this point, I don’t feel its the
script file. My crontab entry is as follows:

1 0,12 * * * ./copy_logs //5 TEST >> /tmp/cron_output

I also have cron running in debug mode, i.e. cron -L -v. I find it hard
to believe that cron just stopped working, but I really don’t have any
ideas as to what the problem is.

Any ideas or things to try would be greatly appreciated.

Thanks,
Eric

I have seen the same problem. As far as I remember, it was also seen by
others.

Probably it has something to do with “opened files” in cron job (but that’s
just too vague in my memory)

PK

“Eric Norton” <enorton_nospam@nospam_fct.ca> wrote in message
news:crukgj$joc$1@inn.qnx.com

Hello,

I’m having problems with a system that uses cron to run a script every
12 hours. The problem is that everything will work for quite a few days
and then without any indication of a problem it stops. I see no evidence
that the script is actually being executed when it does stop, unless
EVERY command in the script failed. The script copies and bunch of files
and removes a file others, etc. At this point, I don’t feel its the
script file. My crontab entry is as follows:

1 0,12 * * * ./copy_logs //5 TEST >> /tmp/cron_output

I also have cron running in debug mode, i.e. cron -L -v. I find it hard
to believe that cron just stopped working, but I really don’t have any
ideas as to what the problem is.

Any ideas or things to try would be greatly appreciated.

Thanks,
Eric