Hi,
I believe the first argument of cronsub should specify a name for the
cronjob. When the job is running this name will show up in "qstat" and
it can be used to kill the job jusing "qdel".
It should be something like:
0 3 * * * cronsub newpagefetch $HOME/newpagefetch.sh
Sumurai8
2011/8/27 Ted Timmons <ted(a)perljam.net>et>:
Here's the error:
Your "cron" job on willow
cronsub $HOME/newpagefetch.sh
produced the following output:
qsub: ERROR! argument to -N option must not contain /
Here's the cron entry:
$ crontab -l
0 3 * * * cronsub $HOME/newpagefetch.sh
Here's the shell script:
$ cat newpagefetch.sh
#!/bin/sh
#$ -sl newpagefetch
#$ -m bae
#$ -j y
#$ -o $HOME/newpagefetch.log
java -jar $HOME/NewPageFetcherApplication.jar
What am I doing wrong?
_______________________________________________
Toolserver-l mailing list (Toolserver-l(a)lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list:
https://wiki.toolserver.org/view/Mailing_list_etiquette