Skip to content

User crontab example

Silent-Remux.mkv edited this page Sep 16, 2018 · 36 revisions

Example user crontab for cloudbox users.

crontab -e

@daily /opt/python-plexlibrary/plexlibrary.sh
0 6 * * * sudo PATH='/usr/bin:/bin:/usr/local/bin' env ANSIBLE_CONFIG='/home/seed/cloudbox/ansible.cfg' '/usr/local/bin/ansible-playbook' '/home/seed/cloudbox/cloudbox.yml' --tags backup -v --skip-tags settings >> '/home/seed/logs/cloudbox_backup-.log' 2>&1
0 * * * * PATH='/usr/bin:/bin:/usr/local/bin' cd /opt/SonarrSync/ ; /usr/bin/python SonarrSync.py
* * * * * /opt/scripts/nzbget/cleanup.sh

Line 1: python-plexlibrary script to make Plex libraries. Installed automatically with run of Cloudbox role. - [Runs midnight daily]

Line 2: Cloudbox backup. - [Runs daily @ 6AM server time]

Line 3: Enormoz's SonarrSync (based on Sperryfreak's RadarrSync) - [Runs hourly]

Line 4: rxwatcher's cleanup script to remove left over junk in /downloads/nzbs/nzbget/completed/sonarr/* etc. - [Runs every minute]

Looking for this script? Check pinned messages in #nzbs-torrents channel in Cloudbox Discord.

Install Guides

Repository

Apps

Misc Guides

General Stuff

Linux Stuff

Plex

Organizr

Downloading

STRM

Clone this wiki locally