this post was submitted on 18 Sep 2023
7 points (100.0% liked)

Linux

2393 readers
26 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 1 year ago
MODERATORS
 

Hey guys, trying to use cron to backup my home server. There's a nextcloud script I run which I copy and pasted from the nextcloud aio GitHub, and this script works in my sudo crontab. However I have a script for my calibre library which runs perfectly well when run manually but as soon as cron time comes around it shows up in the syslog but the calibre library doesn't actually get rsynced... I'll add the calibre script here soon but any ideas in the meantime?

Thanks so much!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago

Could it be a permission issue? Maybe the cron script isn't able to access the directory your calibre library is in.