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 r the daemons for DNS , Veritas, Apache,NFS Server & Client

1 Answers   IBM,


what r the configuration files for SAMBA and how can u configure samba on network with windows machines

1 Answers   IBM,


How RPC will work..?

1 Answers  


What is jumpstart?

2 Answers  


If fsck is running, one thind u should not do.. what's that?

3 Answers  


how u will recover the disk group

2 Answers   IBM,


How do you view shared memory statistics?

3 Answers  


what r d boot options?

2 Answers   TCS,


benifits of SMF over LRC

1 Answers  


how will u create user with out asking a password?

6 Answers   IBM,


How to add a user without command?

6 Answers   Satyam,


How can u configure DNS & configuration files

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


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)