From d79377f748156ebe486ac286c989f2becc409f91 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 20 Nov 2024 20:23:15 +1300 Subject: [PATCH] Proxmox VE Cron LXC Updater: Add tteck's notes. (#378) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added text from tteck's original * warning as info not yet supported * fix spacing * changed working and line spacing * Update json/cron-update-lxcs.json Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --------- Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- json/cron-update-lxcs.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/json/cron-update-lxcs.json b/json/cron-update-lxcs.json index fac4fe6c..08e5e959 100644 --- a/json/cron-update-lxcs.json +++ b/json/cron-update-lxcs.json @@ -12,7 +12,7 @@ "documentation": null, "website": null, "logo": "https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/assets/lxc.svg", - "description": "This script will add/remove a crontab schedule that updates all LXCs every Sunday at midnight.\r\nTo exclude LXCs from updating, edit crontab (crontab -e) and add CTID as shown in the example below:", + "description": "This script will add/remove a crontab schedule that updates all LXCs every Sunday at midnight.", "install_methods": [ { "type": "default", @@ -34,6 +34,11 @@ { "text": "Execute within the Proxmox shell", "type": "warning" + }, + { + "text": "To exclude LXCs from updating, edit the crontab using `crontab -e` and add CTID as shown in the example below:\n\n\n\n`0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c '$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/update-lxcs-cron.sh)' -s 103 111 >>/var/log/update-lxcs-cron.log 2>/dev/null`", + "type": "warning" } + ] } \ No newline at end of file