This is probably a very basic question but I'm new to this:
I'm trying to schedule some Rscript on my Raspberry Pi but keep failing with it. First it didn't do anything and now it says that it can't run my crontabs because they have 'bad commands'.
I have tried in two different styles:
sudo crontab -e
17**** cd [/home/pi/R/projects] && Rscript scraper_srf.R
20**** cd [/home/pi/R/projects] && Rscript scraper_srf.R
29**** cd [/home/pi/R/projects] && Rscript 20min_retry_update_08_06_2020.R
30 21*** cd [/home/pi/R/projects] && Rscript soweitsieht_update_10_06_2020.R
and
sudo crontab -e
32**** Rscript /home/pi/R/projects/scraper_srf.R
20**** Rscript /home/pi/R/projects/scraper_blick.R
29**** Rscript /home/pi/R/projects/20min_retry_update_08_06_2020.R
3021*** Rscript /home/pi/R/projects/soweitsieht_update_10_06_2020.R
thx for your help
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…