Como executar um script R no crontab

Usando crontab -e eu tentei:

* * * * *  Rscript /home/.../file.r
* * * * * /usr/lib/R/bin/Rscript /home/.../file.r
* * * * * /usr/bin/Rscript /home/.../file.r
* * * * * /home/.../foo.sh

onde foo.sh contém:

sudo R CMD BATCH file.r

Apenas rodando $ ./foo.sh funciona. $ R CMD BATCH file.r funciona.

Nada que eu tentei no crontab funciona. Alguma ideia?

questionAnswers(3)

yourAnswerToTheQuestion