Hello:
If I want to run a crontab every hour between 9 am to 9pm, will this work ??
00 09-19 * * * /.../.../../program.sh
If the above does not work, what should it be ??
Thanks, ST2003
Printable View
Hello:
If I want to run a crontab every hour between 9 am to 9pm, will this work ??
00 09-19 * * * /.../.../../program.sh
If the above does not work, what should it be ??
Thanks, ST2003
yes
next time try:
man crontab
www.unix.com
I don't have access to man pages..
Thx for the suggestion and for confirming..
St2003
how can you not have access to man pages if you have access to cron?
www.google.com
man crontab
huh
your sysadmin has to define your PATH
i think it should be ;)
0 09-21 * * * /.../.../../program.sh
:D That's the kind of person I like to hire...
Jeff,
be more specific...
0 9-21 * * * /.../.../../program.sh
im curious what does /.../ do (3 dots)
I thought he was just saying "some directory".
It would be crazy to try and use relative pathing in a cron requiring a lot of setup and exposure to errors (according to my sys admin). if st2003 was saying "..." and ".." to mean relative path.
This thread should ne "DBA thread of the week" :p
That's what I figured...Quote:
Originally posted by gopi
I thought he was just saying "some directory".
Can't you see? (Or is it just me immagining that you can't see? :p )
Pareshg wasn't talking about absolut or relative pathing, he simply copy/pasted that part from the original question. So those three-dot things were not his invention. What he was pointing out was that original reguest was "to schedule job every hour between 9 am to 9pm". So instead of
0 9-19 * * * /.../.../../program.sh
it should have been
0 9-21 * * * /.../.../../program.sh
yeah i saw that but was curious as to whether the ... actually means something as opposed to some directory as in this case
right. absolute or relative pathing had nothing to do with the original question by Pareshg. That slant was more towards davey23uk question. Trying to read into the meaning of "..." and ".."