How to write bash script that autoruns every 10 min?

bash, cron

Solution

Type the following command to enter cronjob:

$ crontab -e

To get crontab to run a task every 10 minutes you could type as follow:

*/10 * * * * /path_to_script

See additional read for it:

Wikipedia

cron-every-5-minutes

cron job every 5 minutes starting from a specific time

Problem

I've been working on a project and I would so not like it to be taken by system crash. So I wrote a script to backup my whole project directory into Dropbox. But I had to run it every 10 min, if I could remember to do that. Question: any way to auto-it-up?

Original source

Related problems