13 Aug
2008
13 Aug
'08
00:45
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org