+ 2

Cron jobs with anacron

so i have setup a miner on my vps . i would like to create a cron job that checks if script is running on automatically forces run of my script at "/home/mine.sh" any help?

4th Aug 2018, 1:55 PM
Antony O. Onyango
Antony O. Onyango - avatar
1 Resposta
+ 3
so i found a solution to my problem . instead of setting up a cron task i realized i can achieve the same result by doin "screen" and opening up a virtual terminal. i can then run my command and disconnect from ssh with "ctrl-d" and exit the terminal without affecting the running tasks :)
5th Aug 2018, 7:09 AM
Antony O. Onyango
Antony O. Onyango - avatar