In Solaris are two possibilities to schedule processes, it depends on the nature of the scheduling objective that one method is used or the other.
The methods are “cron” and “at”.
Cron
This name is inspired in the Greek god of Crono, the god of human’s time (day, month, years, calendards).The Cron method is used if you need to schedule a job to be executed more than one time, periodicaly. Each user can have a scheduling (See Crontab Security in Solaris), and their files are stored in:
/var/spool/cron/crontabs/
The crontab file of a user can be edited with:
crontab -e [<username>]
Display the crontab content:
crontab -l [<username>]
* Do not do this * Remove crontab * Do not do this *
crontab -r [<username>]
A crontab file looks like this:

Fields in crontab file and their ranges:
| Field | Description | Range |
| 1 | Minute | 0-59 |
| 2 | Hour | 0-23 |
| 3 | Day of Month | 1-31 |
| 4 | Month | 1-12 |
| 5 | Day of week | 0-6 |
| 6 | Command |
AT
This command is used to scheduling a one time execution. The format of the command is:
at [-m] <time> [<date>]
-m : Means to send an email when the job is completed.
time: hour at which to schedule the job















2 users commented in " Scheduling processes in Solaris "
Follow-up comment rss or Leave a Trackback[...] or deny access to crontab, this means, give the user permission to modify its own crontab file (see Scheduling processes in Solaris) two files have to modified: /etc/cron.d/cron.deny /etc/cron.d/cron.allow This files contain one [...]
Thanks …
But the files are stored in:
/var/spool/cron/crontabs/
NOT: /var/spool/cron/crontab/
( s ) in the end
Leave A Reply