Jump to content

Obsolete talk:Toolforge/Grid

From Wikitech
Latest comment: 4 years ago by BryanDavis in topic Anacron
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Can't run grid commands on cron?

I have a testing script for restarting a job during troubleshooting.

#!/bin/bash

qdel avicbotirc2
sleep 60
jstart -mem 500m ~/irc/avicbotirc2.sh

This works fine with running it myself via terminal. However, if I try to put this on cron, I get the following:

/data/project/avicbot/irc/restart2.sh: line 3: qdel: command not found

Is there a reason for this? #avicennasis@wikitech 03:57, 28 September 2015 (UTC)Reply

Anacron

Similar to scheduling cron processes described here, can we also run anacron ones? Obviously anacrontab -e doesn't work as a command. - Klein Muçi (talk) 09:54, 8 November 2020 (UTC)Reply

The cron system installed for Toolforge is Debian's version of vixie cron, not anacron. --BryanDavis (talk) 00:32, 13 November 2020 (UTC)Reply