Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 24th May 2022
hd77 hd77 is offline
Fdisk Soldier
Join Date: Jan 2022
Posts: 76
Default openbsd, rclone, crontab


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?
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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

All times are GMT. The time now is 07:57 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick