Running scripts on a fixed timeschedule (cron): Difference between revisions

From HPCwiki
Jump to navigation Jump to search
(Created page with " == Using crontab == With crontab you can run jobs on a fixed timeschedule. This means that you can e.g. download some data every day. To start an edit with '''crontab -l'...")
 
No edit summary
Line 2: Line 2:
== Using crontab ==
== Using crontab ==


With crontab you can run jobs on a fixed timeschedule.
With crontab you can run jobs on a fixed time schedule.
   
   
This means that you can e.g. download some data every day.
This means that you can e.g. download some data every day.

Revision as of 15:21, 20 October 2020

Using crontab

With crontab you can run jobs on a fixed time schedule.

This means that you can e.g. download some data every day.

To start an edit with crontab -l , the info on that file can be found by using man 5 crontab.

Be aware of the following :

The scripts will run on the login node, so do not use a lot of resources The crontab entry will be wiped upon reboot, so if you want to make sure that it is there, it wise to set that up.