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!

  • FMT99@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Theres no other logging it does? Have you tried running the script yourself from the commandline with the same privileges that cron has?