Force the the hell!

unix

    Next

  • 1. console
    Can someone pls help me to setup the console on Netra servers and Fire servers?[I think its using RSC]

Force the the hell!

Postby Romek » Mon, 05 Jun 2006 23:32:38 GMT

Hi how to force cron to do somehing every 2 minutes? I used */2 * * * *, 
as proper (I assume), but it doesnt works.

greets Romek

Re: Force the the hell!

Postby Logan Shaw » Tue, 06 Jun 2006 01:41:58 GMT



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

Re: Force the the hell!

Postby Michael Vilain » Tue, 06 Jun 2006 01:44:54 GMT




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...




Re: Force the the hell!

Postby Cesare » Tue, 06 Jun 2006 06:38:24 GMT

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







Re: Force the the hell!

Postby Cydrome Leader » Tue, 06 Jun 2006 09:57:22 GMT





It's really from vixie cron, which is really quite useful with the 
@commands.


Re: Force the the hell!

Postby Casper H.S. Dik » Wed, 07 Jun 2006 06:50:38 GMT

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



Return to unix

 

Who is online

Users browsing this forum: No registered users and 86 guest