Re: [Toolserver-l] cronsub

2011-01-08 Thread Dr. Trigon
> You can run cronsub from the command-line for testing. ;))) easy, simple and straight forward... should be kind of obvious... :)) Thanks a lot! ;) > > - river. ___ Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wik

Re: [Toolserver-l] cronsub

2011-01-08 Thread River Tarnell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dr. Trigon: > 'qsub $HOME/pywikipedia/runbotrun.py -cron' > which is the equivalent to: > '0 2 * * * cronsub -s mainbot $HOME/pywikipedia/runbotrun.py -cron' These are not equivalent. cronsub does a fair amount of additional processing on top o

Re: [Toolserver-l] [Toolserver-announce] Maintenance

2011-01-08 Thread emijrp
I do not understand what you mean. 2011/1/5 DaB. > Hello, > At Wednesday 05 January 2011 09:07:22 DaB. wrote: > > Thanks. > > > > I'm getting more errors: sh: mysql: not found. Is this related to? How > can > > I fix it? > > check your PATH. cron has one of its own (that was also the case in > d

Re: [Toolserver-l] cronsub

2011-01-08 Thread Dr. Trigon
Hello all Hello River 1st Thanks for the fast reply. After reading it and also some older posts I was able to figure out a 'chmod 744' is needed on my python script BUT ALSO THE ADDITION OF '#!/usr/bin/env python' AS FIRST LINE in the script IS NEEDED. 2nd I switched to 'cronie' (thanks for the i

Re: [Toolserver-l] cronsub

2011-01-08 Thread River Tarnell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 seth: > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/local/bin/cronsub -s > seth-vdetector % /usr/bin/perl $HOME/bots/vdetector.pl >/dev/null For a long-running job, you should use "-sl". Otherwise your job will be killed after 6 hours. (This is

Re: [Toolserver-l] cronsub

2011-01-08 Thread seth
Hi, since we changed to Solaris I'm not able to start my perl-script via cron. 1. I'm using the example given at https://wiki.toolserver.org/view/Cronsub#cronsub for my cronjob: 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/local/bin/cronsub -s seth-vdetector % /usr/bin/perl $HOME/bots/vdetecto