I need to set up a cron job that runs an executable compiled using gcc once every hour.
I logged in as root and typed crontab -e
crontab -e
Then I entered
If you're using Ubuntu, you can put a shell script in one of these folders: /etc/cron.daily, /etc/cron.hourly, /etc/cron.monthly or /etc/cron.weekly.
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/cron.weekly
For more detail, check out this post: https://askubuntu.com/questions/2368/how-do-i-set-up-a-cron-job