[tech] mooneye:planet cronjob, was Re: [wheel] Cron <planet at mooneye> $HOME/minutes-rss/minutes-rss.py 2>&1 >> $HOME/minutes.log

Nick Bannon nick at ucc.gu.uwa.edu.au
Mon Nov 9 07:24:08 AWST 2020


On Wed, Nov 04, 2020 at 07:59:54AM +0800, David Adam wrote:
> On Tue, 3 Nov 2020, Cron Daemon wrote:
> > /usr/bin/find: '/services/http/infobase/minutes/': Input/output error
> > Traceback (most recent call last):
> >   File "/home/other/planet/minutes-rss/minutes-rss.py", line 80, in <module>
> >     latestItem = UCCMinutes(items[0])
> >   File "/home/other/planet/minutes-rss/minutes-rss.py", line 24, in __init__
> >     f = open(path,'r')
> > IOError: [Errno 21] Is a directory: '/home/other/planet'
> 
> Can someone take me off the planet@ alias? I stopped maintaining it in 
> 2018 and nobody has complained. It can probably be diverted to 
> hostmasters.
> 
> The minutes RSS script runs as that user, for some reason.
> [DAA]

Done, I think.

There was no /etc/aliases entry on mailfish the mail server (or mooneye),
but there was a ~planet/.forward listing you: fixed!

There still is a mooneye cronjob (mooneye's still inching towards
decomissioning):

mooneye:/etc# crontab -lu planet
# m h  dom mon dow   command
#*/20 *   * * *   killall update-planet 2>/dev/null && echo -e "Updated at `date`:\n" > $HOME/planet.log; cd $HOME/src/planetucc && $HOME/src/planetucc/update-planet >> $HOME/planet.log 2>&1
0 */6	* * *	$HOME/minutes-rss/minutes-rss.py 2>&1 >> $HOME/minutes.log

So - no planet updates right now, but a minutes RSS feed does seem useful.

mooneye:/etc# ls -l /var/spool/cron/crontabs/
-rw------- 1 list    crontab 1483 Apr 24  2014 list
-rw------- 1 planet  crontab  493 Nov 24  2018 planet
-rw------- 1 root    crontab  516 May 13  2019 root
-rw------- 1 spamass crontab  285 Nov  3  2014 spamass

thank you!
Nick.

-- 
   Nick Bannon   | "I made this letter longer than usual because
nick-sig at rcpt.to | I lack the time to make it shorter." - Pascal


More information about the tech mailing list