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

what are the deamon for nfs server

5 Answers   IBM, Micron Electricals,


What is the config file in DNS?

2 Answers  


What is the use of /etc/path-to-inst file?

5 Answers  


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?

0 Answers   TCS,


what is the major problem u faced in u r carrier or in u r present company

1 Answers   IBM,






What is meant by jumpstart?

2 Answers   IBM,


What are the various clusters you have worked on?

1 Answers  


If a users is logged in to your system, and now you want to restrict that user what will you do?

1 Answers  


What is the difference between initialization & encapsulation in VXVM?

7 Answers   HCL, HSBC,


which is the fast SPARC or Intel ? and why?

3 Answers   IBM,


what is SMF service? And what it does in Solaris 10

2 Answers   IBM,


If root file system 100% full what you have to do?

5 Answers   Tech Mahindra,


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)