2Question(Crontab without a script and Issues with transferring..)

Hi, I have a seedbox where I have ssh acces. I would like to do an rclone scheduling without writing a script (I don’t know very well linux terminal), because I do not know how. Is it possibile to do directly a crontab?

*/30 * * * * rclone copy source:sourcepath dest:destpath

Will that work?

and 2 :
This happens occasionally and I cant figure out whats happening. This is happening on gdrive from a seedbox. I had to disable my crontab as it was eating up all my allowed bandwidth running every few minutes trying to transfer this file. This has happened on multiple occasions now with random files. Any help would be great. Thank you!

Any Ideas?

*@orion ~ $ rclone move /home//Completed Media:Downloads -v --no-traverse --min-age 5m --acd-upload-wait-per-gb 5m

2017/04/10 04:23:31 INFO : Encrypted Google drive root ‘Media/r2d79ipr0’: Modify window is 1ms
2017/04/10 04:23:33 INFO : Encrypted Google drive root ‘Media/r2d79ipr0’: Waiting for checks to finish
2017/04/10 04:23:33 INFO : Encrypted Google drive root ‘Media/r2d79ipr0’: Waiting for transfers to finish
2017/04/10 04:24:31 INFO :
Transferred: 1.015 GBytes (16.794 MBytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 1m1.9s
Transferring:

  • …VO/Split.2016.mkv: 27% done, 17.411 MBytes/s, ETA: 2m34s

2017/04/10 04:25:31 INFO :
Transferred: 2.023 GBytes (16.992 MBytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 2m1.9s
Transferring:

  • …VO/Split.2016.mkv: 55% done, 17.382 MBytes/s, ETA: 1m34s

2017/04/10 04:26:31 INFO :
Transferred: 3.031 GBytes (17.059 MBytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 3m1.9s
Transferring:

  • …VO/Split.2016.mkv: 83% done, 16.414 MBytes/s, ETA: 37s

2017/04/10 04:27:08 ERROR : Split.2016/Split.2016.720p.mkv: Failed to copy: googleapi: Error 404: File not found: 0B0FYVU, notFound
2017/04/10 04:27:08 ERROR : Split.2016/Split.2016.720p.mkv: Not deleting source as copy failed: googleapi: Error 404: File not found: 0B0lFYVU, notFound
2017/04/10 04:27:08 ERROR : Attempt 1/3 failed with 1 errors and: googleapi: Error 404: File not found: 0B0YVU, notFound
2017/04/10 04:27:09 INFO : Encrypted Google drive root ‘Media/r2d7ipr0’: Waiting for checks to finish
2017/04/10 04:27:09 INFO : Encrypted Google drive root ‘Media/r2dh9ipr0’: Waiting for transfers to finish

In theory, but you might find rclone isn’t on the path or something is missing from the environment.

Run

*/30 * * * * rclone copy source:sourcepath dest:destpath >/tmp/rclone.log 2>&1

And look in the log to see what happened

You are almost certainly running multiple rclone’s at once. If you search the forum you’ll find a solution for this with lock files.

Try full paths to the programs called from crontab. You can find the path to rclone with “which rclone”. Could be someting like /usr/bin/rclone.