Hi how to force cron to do somehing every 2 minutes? I used */2 * * * *, as proper (I assume), but it doesnt works. greets Romek
Hi how to force cron to do somehing every 2 minutes? I used */2 * * * *, as proper (I assume), but it doesnt works. greets Romek
That "*/2" is a non-standard extension to cron that certain versions have added. Solaris cron doesn't support that. Instead, if you really want every other minute, you'll have to use this: 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 A bit of a pain, but I think that at the time cron was written, nobody thought you'd want to run a job that often. It would've seemed wasteful back then. These days, it's probably not so bad. - Logan
That's Linux's crontab syntax and isn't supported. Read the man page on cron and you'll see the supported values for that field. I suggest multiple crontab entries rather than a single large one. -- DeeDee, don't press that button! DeeDee! NO! Dee...
Or if is possibile (for example not in critical production sites) install the GNU crond daemon compiled for Solaris. Look on http://www.**--****.com/ Cesare "Michael Vilain" < XXXX@XXXXX.COM > ha scritto nel messaggio
It's really from vixie cron, which is really quite useful with the @commands.
Cydrome Leader < XXXX@XXXXX.COM > writes: But it likely does not support much of what Solaris expects of cron. (Such as properly using PAM, etc) Casper
1.Nike Air Force Ones,Air Force One Air Force One-1
2.My Long Week in Ubuntu Hell ( Linux Hell)
3.[News] Microsoft Forced to Accept GNU/Linux -- Force to be Reckoned with
4.[PATCH 3/7] ICH Force HPET: ICH7 or later quirk to force detect enable
5.[PATCH 5/7] ICH Force HPET: ICH5 quirk to force detect enable
6. Forced umount doesn't force very hard
Users browsing this forum: No registered users and 86 guest