On Tuesday 12 August 2008 05:45:57 pm Marco Michna wrote:
Hello,
Ben Kevan wrote:
the paths are defined, but just for the sake of sakeness.. the following still does not work:
*/5 * 10-14 8 * /usr/bin/test `/bin/date +%a` = "Tue" && /bin/echo `/bin/date`
/home/bkevan/date
I will also try:
*/5 * * 8 2 if [ `/bin/date +%d` -ge 8 -a `/bin/date +%d` -le 14 ]; then /bin/echo `/bin/date` >> /home/bkevan/date; fi
Whatever you try to achieve - you try a hard approach. Simply put your stuff into a shell script and let cron run that script. Like e.g. you created /home/user/bin/myscript.sh then you let the cron be:
5 12 * * * /home/user/bin/myscript.sh
Greetings, Marco
I'll try to put it in a script and try it that way.. But shouldn't it work just fine without it being in a script? The call of the script will still be the same. I'll let you know monday how that goes (4 day weekend .. and awayyyyyyyyyyyyyyy) Ben -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org