1
0
Fork 0
mirror of https://github.com/sensebox/opensensmapr synced 2025-02-22 14:53:57 +01:00
opensensmapR/tools/monitr/crontab

8 lines
313 B
Text

#!/bin/sh
# once every 15 mins
*/15 * * * * cd /script/data && /usr/bin/Rscript --save --restore ../get-counts.R > get-counts.log 2>&1
# mondays, 12:02
#(may not run simultanously, to avoid override of .RData save)
2 12 * * 1 cd /script/data && /usr/bin/Rscript --save --restore ../get-boxes.R > get-boxes.log