Help talk:Toolforge/Grid

From Wikitech
Jump to navigation Jump to search

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)

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)

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