Crontab and exec

i wanna execute an executable file(a C compiled file named 'main') from crontab.
but it is not working.
crontab entry looks like this
01 * * * * root exec /misc/main

then a wrote a shell script to execute 'main' which is working fine when i execute from terminal but do not work when i execute from crontab.
can anyone help me out
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories