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

Answers were Sorted based on User's Feedback



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

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

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

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

Post New Answer

More Solaris AllOther Interview Questions

NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?

4 Answers  


what is file system ?can u explain briefly ?

2 Answers  


how to change nic card from half duplex to full duplex?

1 Answers   Wipro,


what is split brain? if it happens, what are the solutions need to be applicable?

2 Answers  


what is State database replica?

1 Answers   IBM,






How do you replace a failed boot disk under meta in solaris? Step by step explanation?

3 Answers   Barclays,


without keyboard detection is booting process continue or not?

3 Answers  


what is the difference between ssh & telnet

10 Answers   HP, Lehman Brothers, Linux, Shiraz, Tech Mahindra,


what is sc prompt in solaris? how can we get that sc prompt?

2 Answers  


Difference between secure copy and remote copy

1 Answers  


how to delete a zone?

3 Answers   IBM,


How to merge solaris partition

2 Answers   TCS,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)