I need to configure a cron job that runs an executable compiled using gcc once an hour.
I logged in as root and typed crontab -e
Then I entered the following and saved the file.
0 * * * * /path_to_executable
However, the cron job does not work.
I see that when I type /...path_to_executable , I get a segmentation error. I can execute the executable file only from the folder in which it is located. Is there any way to solve this problem?
c gcc linux cron crontab
Anonymous Aug 13 '10 at 6:02 2010-08-13 06:02
source share