I would like to run a crontab every day at 12h. So I defined a path to my Script with the following syntax:
00 12 * * * sudo R CMD BATCH /home/.../test.R
In order to test that I just ran:
sudo R CMD BATCH /home/.../test.R
And get the message:
basename: extra operand ‘.R’
Try 'basename --help' for more information.
I tried many combinations but nothing seems to work. Maybe one has an advice?
R-Script
on daily basis.