communication #128699
closeda new cron job for relsync@pinot-o-o
0%
Description
Hello team
we've moved hosting of doc-o-o from community to pinot, however it seems that we do not have in place a cronjob that would update release-notes accordingly
cron in old setup:
relsync@community:~> crontab -l
0 */6 * * * test -x /home/relsync/bin/update_release_notes && /home/relsync/bin/update_release_notes
new:
relsync@pinot:~> crontab -l
-bash: /usr/bin/crontab: Permission denied
relsync@pinot:~> systemctl --user list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES
0 timers listed.
relsync@pinot:~> ls -la /etc/cron.d
total 20
drwxr-xr-x 2 root root 4096 May 7 2022 .
drwxr-xr-x 99 root root 12288 Apr 29 00:01 ..
-rw-r--r-- 1 root root 183 Jun 25 2019 countdown.opensuse.org
I'm also pretty sure that something must have trigered following rsync on the community-o-o (taken from history of relsync@pinot-o-o)
rsync -arz --delete-after /home/relsync/release-notes/ /srv/www/vhosts/doc.opensuse.org/release-notes/
Otherwise the update script above would only pull changes to the /home/relsync, while we need these changes also in /srv/www