how u can configure the Crontab and how many fields in
Crontab file

Answer Posted / kiranraj

export EDITOR=vi ;to specify a editor to open crontab file.

crontab -e Edit your crontab file, or create one if it
doesn't already exist.
crontab -l Display your crontab file.
crontab -r Remove your crontab file.
crontab -v Display the last time you edited your
crontab file. (This option is only available on a few
systems.)

Crontab syntax :-
A crontab file has five fields for specifying day , date
and time followed by the command to be run at that
interval.

* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6)(Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

2250


how can u give space garentee for volume in netapp storage

2811


What is cachefs?

1926


hi to all,, i need few real time issues please provide me,, if you have any,,,

1749


How do u know that,what patch can be applicable on the system?

1799






In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?

1748


What is the zone in DNS?

1895


How to create a gateway?

6339


Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh

2745


Local zone in shutting down state.how to bring state of zone to installed?

1622


What is the use of Sam utility in solaris

2362


when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

2031