No, as I said, I ran it manually just fine.
The % is part of the cronsub command, denoting the start of the command to execute. It's documented on the TS wiki.
The redirection has never caused issues before.
---- User:Hersfold hersfoldwiki@gmail.com
Sent from my Windows Phone From: Platonides Sent: 6/9/2012 13:31 To: toolserver-l@lists.wikimedia.org Subject: Re: [Toolserver-l] Crontab not running? On 09/06/12 18:02, Hersfold wrote:
Hello,
I'm having some strange issues with my crontab. I've got this line in there, which has worked for months: 0 */2 * * * cronsub -s HersfoldArbClerkBot % java -jar HersfoldArbClerkBot.jar > HersfoldArbClerkBot.out
Last night I replaced the jar in question with a new version (same name, location, etc.); since then, it doesn't appear that it's been running or even attempting to run. Usually when it fails to run I get an email, or at the very least something should be entered in that .out file; unfortunately I got no emails, and the file didn't exist, yet my bot didn't make any edits until I started it manually a short while ago. It should have run just now at 16:00 UTC, but again, no dice. Is there something wrong with cron where it's stopped functioning correctly?
User:Hersfold hersfoldwiki@gmail.com
Maybe the new HersfoldArbClerkBot.jar has some dependency which is only fullfilled in the login server? (thus it dies in the new version)
What's the point of that % character?
That redirection is also confusing, since cronsub would use HersfoldAhrbClerkBot.out as output file, and you're also using a redirection to the same file.
_______________________________________________ Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
toolserver-l@lists.wikimedia.org