Skip to content
Mat edited this page Jul 27, 2015 · 1 revision

Crontab

The crontable is the table containing the scheduled tasks to run by the system (OS) or a user (pi).

To create or edit the crontab type:

pi@locahost$ crontabl -e

These tasks correspond to user pi:

1 * * * * /home/pi/projects/maintenanceScripts/remoteConnection 1 12 * * * /home/pi/projects/maintenanceScripts/logTarCopyToServer 0 9,13,17 * * * /home/pi/projects/cameraIrLed/takePictureForCron &

+Pictures are taken 3 times per day at 9am, 1pm, 5pm and saved to the server.
+The pictures older than 16 days will be erase every day at 12:05.
+Every hour, the farms will send their external IP to the server and create a connection to access remotely from the server.
+Every day at 12:01, the measurements of day – 2 will be copied to the server.

Clone this wiki locally