Hi guys,
Just wondering if anyone could give me some pointers why my cron isnt working on digital ocean.
The script I am running is:
located here:
/usr/sbin/rclone.sh
it consists of:
#!/bin/bash
if pidof -o %PPID -x “rclone.sh”; then
exit 1
fi
rclone copy acd: gdrive:
exit
It has been made executeable.
I can run it by just typing rclone.sh
my cron looks like:
*/5 * * * * bash /usr/sbin/rclone.sh >/dev/null 2>&1
I have also tried:
*/5 * * * * /usr/sbin/rclone.sh >/dev/null 2>&1
But it refuses to run.
Any tips?