|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
openbsd, rclone, crontab
hello
as root, I add a such line in crontab : */5 * * * * echo "aa" >> /tmp/aaa obviously, it works. now I just replace the echo.... part with the following one : */4 * * * * /usr/local/bin/rclone sync -P --no-check-certificate -P --exclude ".*/**" /home/test/abc/ remote:/abc/ (".*/**" allows to take files and subdir into the dir, without the .hidden files/folders) it doesnt works, rclone doesnt launches. If I do exactly that command just in term, by copy/paste, it works. Only under crontab, it doesnt.. how could I solve this? |
|
|||
Quote:
had to put brackets to remote:"path" but mainly to precise conf file, whom is different wih default rclone launched dircetly, instead of rclone launched through crontab schedule : 2022/05/29 00:16:01 NOTICE: Config file "/var/log/.config/rclone/rclone.conf" not found - using defaults had to precise conf file wih --config /root/.config/rclone/rclone.conf (path with rclone dircetly without crontab) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
crontab | leave0 | OpenBSD General | 2 | 30th December 2020 06:03 AM |
Editor for crontab? | beavers | OpenBSD General | 3 | 14th February 2018 05:10 PM |
default crontab | fbroce | OpenBSD Installation and Upgrading | 13 | 13th September 2010 09:20 PM |
Crontab won't run script | Petrocelli08 | FreeBSD General | 4 | 7th March 2009 04:19 AM |
Crontab not working | beandip | FreeBSD General | 6 | 6th August 2008 08:33 PM |