I am on Arch Linux and I'm trying to make a cron job that fires every minute. So I use:
$ crontab -e
And add the script in:
* * * * * Rscript /srv/shiny-system/cron/CPU.R ~ ~ "/tmp/crontab.8VZ7vq" 1 line, 47 characters
(I have no idea what that "/tmp/crontab.8VZ7vq" is!)
But it is not working - CPU.R is not running every minute. What should I do then in Arch Linux to run the cron job? I have looked into these wiki guides below but I am still lost:
I found some hints from here regarding
[xxx@localhost ~]$ systemctl status crond ● crond.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) [xxx@localhost ~]$ sudo systemctl start crond [sudo] password for xxx: Failed to start crond.service: Unit crond.service failed to load: No such file or directory.
What does this mean? Where should I put this crond.service and what script should I put in it?