Help talk:Toolforge/Grid

From Wikitech
Jump to: navigation, 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)