More cron stuff in Ubuntu

So, I needed to make a cron job that runs every hour. This is crazy simple; at least in Ubuntu! Ubuntu has folders in the /etc/ folder…


It's pretty easy. As long as you don't need to control exactly when a process executes, just throw a script file in one of those folders and you're done (just don't forget to make your script executable). There is one more folder, cron.d, that acts as an extension to the system crontab and uses the crazy crontab job scheduling syntax, but I'm not using that. These periodic folders are way easier.

I should mention that I learned about the periodic cron folders from cogNiTioN, and about the cron.d from Thanks guys.

Leave a Reply

Your email address will not be published.