Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Solaris 10 Cron *frustration*

Solaris 10 Cron *frustration*

Solaris 10 Cron *frustration*

We have a Sun x4540 thumper that we use for central NAS storage.   To date, I have had nothing but frustration with Sun's implementation of cron.  It seems like it's pretty darned old.  Regardless, something like this should just work:

0       0,2,4,6,8,10,12,14,16,18,20,22  *       *       *       /usr/local/somescript.sh > /dev/null 2>&1

no-brainer.  But it doesn't work, despite restarting the cron through svcadm... and I've HAD IT! smile

I've had other problems with this cron before as well.   It leads me to wonder if there isn't some GNU/alternative job processor (cron alternative) that I can install and use that will be reliable.

Failing that, what is wrong with the above instruction to cron?   I have verified everything, including permissions, etc.  It's there, it should work; it doesn't.


RE: Solaris 10 Cron *frustration*

I take it you have redirected to a file to see if you have an error?

This link offers two alternate commands that might work:



RE: Solaris 10 Cron *frustration*

Cron entry looks fine to me.  Script located in /usr/local/bin perhaps?  Or not executable?

Log output instead of /dev/null would be interesting thoughm as olded suggested.  Also check the cron log, wherever that may be in Solaris these days, to see if it has even attempted to invoke the job.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close