mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-18 16:32:17 +00:00
recyclarr: add default daily cron job for recyclarr sync (#10208)
* Add default daily cron job for recyclarr sync - Create /etc/cron.d/recyclarr file with @daily schedule - Log output to /root/.config/recyclarr/sync.log - Uses recommended default schedule from recyclarr docs - Follows project convention for cron jobs Implements #10182 * Add notes about daily cron job to recyclarr.json - Info about automatic daily sync via cron - Reference to cron file location for customization - Warning about configuring instances before first sync
This commit is contained in:
committed by
GitHub
parent
18bb7ae6c7
commit
ef2a511217
@@ -24,6 +24,14 @@ mkdir -p /root/.config/recyclarr
|
||||
$STD recyclarr config create
|
||||
msg_ok "Configured Recyclarr"
|
||||
|
||||
msg_info "Setting up Daily Sync Cron"
|
||||
cat <<EOF >/etc/cron.d/recyclarr
|
||||
# Run recyclarr sync daily
|
||||
@daily root recyclarr sync >> /root/.config/recyclarr/sync.log 2>&1
|
||||
EOF
|
||||
chmod 644 /etc/cron.d/recyclarr
|
||||
msg_ok "Setup Daily Sync Cron"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
|
||||
Reference in New Issue
Block a user