On 19 sep, 16:50, Zentrader <[EMAIL PROTECTED]> wrote:
> > If I run the command /usr/sbin/program_prgchk everything works (no
> > process)
> > But when I use it in the crontab I get a process
>
> The crontabs file on my system is stored in /var/spool/cron/
> crontabs/. It appears you are checkin
> If I run the command /usr/sbin/program_prgchk everything works (no
> process)
> But when I use it in the crontab I get a process
The crontabs file on my system is stored in /var/spool/cron/
crontabs/. It appears you are checking the wrong file. Try a
"crontab -e" from the command line and co
H!
I have made a program that is checking if a program is running or not.
If the program is not running then it must start the program again.
in the /etc/crontab:
* * * * * root/usr/sbin/
program_prgchk
in the /usr/sbin/program_prgchk:
/usr/local/bin/python /home/