Talk:Toolserver:User:E

You can either send an email to e [at] toolserver.org or leave a message below and I'll get back to you either way ASAP.

are you sure ~ works in cron on Solaris? /bin/sh doesn't understand that syntax. River
 * the command line is accepting phoenix ~/phoenix-james-aivhelperbot perl /home/james/AIVHelperbot/AIVHelperbot.pl fine... &mdash; E  09:00, 21 July 2009 (UTC)
 * yes, but does it work in cron? your command-line shell is bash, which does support ~.  cron uses /bin/sh instead. River
 * The following is what I received from the cron email report:
 * Your "cron" job on willow
 * phoenix ~/phoenix-james-abusebot perl /home/james/AbuseBot/AbuseBot.pl
 * produced the following output:
 * launching perl /home/james/AbuseBot/AbuseBot.pl
 * /opt/local/bin/phoenix: line 85: ~/phoenix-james-abusebot.out: No such file or directory
 * /opt/local/bin/phoenix: line 91: ~/phoenix-james-abusebot.out: No such file or directory
 * /opt/local/bin/phoenix: line 96: ~/phoenix-james-abusebot.pid: No such file or directory
 * Failed to launch perl /home/james/AbuseBot/AbuseBot.pl PID 28831 at 2009-07-21 09:00:00 +0000
 * /opt/local/bin/phoenix: line 106: ~/phoenix-james-abusebot.out: No such file or directory
 * /opt/local/bin/phoenix: line 107: ~/phoenix-james-abusebot.out: No such file or directory
 * so I'm assuming that isn't working. What should I be using instead? What was originally on the Phoenix page before my edits? &mdash; E  09:04, 21 July 2009 (UTC)


 * i tested this, and it seemed to work fine:

0,5,10,15,20,25,30,35,40,45,50,55 phoenix python /home/yourname/whatever/program.py
 * you could also use $HOME instead of /home/yourname. what error did you get from my version? River
 * I'm getting the following error:

crontab: error on previous line; unexpected character found in line.
 * I'm thinking it should conform to the correct syntax for the cron, which should make your version:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * phoenix python /home/yourname/whatever/program.py
 * &mdash; E  09:11, 21 July 2009 (UTC)
 * yes, sorry--but you already changed that on the page, didn't it work then? River
 * I received two cron reports, both saying that:

Your "cron" job on willow phoenix perl /home/james/AIVHelperbot/AIVHelperbot.pl produced the following output: launching /home/james/AIVHelperbot/AIVHelperbot.pl Successfully launched /home/james/AIVHelperbot/AIVHelperbot.pl PID 28958 at 2009-07-21 09:15:00 +0000 output is appended to perl.out and Your "cron" job on willow phoenix perl /home/james/AbuseBot/AbuseBot.pl produced the following output: launching /home/james/AbuseBot/AbuseBot.pl Successfully launched /home/james/AbuseBot/AbuseBot.pl PID 28956 at 2009-07-21 09:15:00 +0000 output is appended to perl.out
 * Does this seem to be working to you? Now I have two instances of the bot running (the one from before and the one from just then). Are the two bots meant to be working to the same output file of perl.out? &mdash; E  09:19, 21 July 2009 (UTC)


 * sorry, the command is still wrong! the name argument is missing.  try this:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * phoenix /home/james/aivhelperbot perl /home/james/AIVHelperbot/AIVHelperbot.pl 0,5,10,15,20,25,30,35,40,45,50,55 * * * * phoenix /home/james/abusebot perl /home/james/AbuseBot/AbuseBot.pl
 * the new argument specifies the tool name and the logfile. only one copy of a program with a particular logfile will be started at once. River
 * (reset indent) It's perfect now, the script has accepted and they are outputting to their own individual output files. I shall monitor them over the next few hours, then cease the reports. Thank you for all of your help River. Much appreciated! &mdash; E  09:32, 21 July 2009 (UTC)