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 is RPC? Why do I need it?

5 Answers  


what are the software groups in solaries?please explain them?

1 Answers  


how to repair /etc/system file with out using jump start and without using os software cd

4 Answers   IBM,


How u can detach or remove the disk it is in Veritas (Vxvm) control that is the disk in the production server ?

3 Answers   Tech Mahindra, Wipro,


File system creation steps??

2 Answers  






Suppose if u want to reconfigure the kernel then how ur going to do?

3 Answers  


how to use Multipathing in Solaris

2 Answers   IBM,


How can u configure DNS & configuration files

1 Answers   IBM, Ness Technologies, Symantec, YP Soft,


where the NIS will be actually used (Situation)

1 Answers   IBM,


how to increase file system in root disk mirroring with out detach the mirror?

1 Answers  


I am not login to server with telnet and ssh then what to do?

3 Answers   Symphony,


which is the fast SPARC or Intel ? and why?

3 Answers   IBM,


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)