1)How to schedule a job,that will periodically execute in
second by crontab?
2)I know only second specific time to execute the job.
like 10 10 * * * sleep 40&&ps -l>/dev/pts/1
It will execute at 10:10:40 AM but do not know how to
execute 15 second,30 second so on at 10:10 am.

Answer Posted / rhino

There need to be an enhancement in Unix to support this
feature which is not relavant

Cron job wakes up every minute and checks if there exists
any process in cron that requires to be executed , If yes
it executes the job and sleep again to wake up in the next
minute

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the term directory?

974


Where is unix used?

714


What is unix operating system explain various components of unix operating system?

658


Explain how and when a DNS request is solved when a user tries to surf to the site www.abcdeg.in .Assume the user machine uses a local name server and sits on another network other than www.abcdef.in.

4678


Why is it that it is not advisable to use root as the default login?

812


How do I run a shell script in unix?

746


What are the basic responsibilities of a shell?

1100


What are the essential features of the unix operating system?

708


What is the procedure to configure MC/SG Cluster services in HP-UX 11i v3 OS Environment?

5685


How do you switch from any user type to a super user type?

742


Is windows built on unix?

767


Write a script that prints out date information in this order: time, the day of week, day number, month, year(sample output: 17:34:51 pdt sun 12 feb 2012)

957


What is called in unix?

684


What is $path in unix?

712


What does unix like mean?

678