how u can configure the Crontab and how many fields in
Crontab file
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / phani
the crontab fields are
minutes, hours, day of the month, month of the year, day of
the week.
| Is This Answer Correct ? | 6 Yes | 2 No |
which is the fast SPARC or Intel ? and why?
What is the difference between NFS version 2 and NFS version 3?
What is lofs in zones
How do you replace a failed boot disk under meta in solaris? Step by step explanation?
Local zone in shutting down state.how to bring state of zone to installed?
how to u see when the surver was rebooted
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?
How can you unencapsulate a boot disk in VxVM?
If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?
How can you set EEPROM settings from Solaris?
Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.
how to share a directory with nfs server and how client mount the nfs share