[Toolserver-l] help me with my first cronsub

Ted Timmons ted at perljam.net
Sat Aug 27 03:36:05 UTC 2011


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?



More information about the Toolserver-l mailing list