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 / damodar

You cannot schedule a every-second cronjob. Because in cron
the minimum unit you can specify is minute. In a typical
scenario, there is no reason for most of us to run any job
every second in the system

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you make programs portable on unix and dos under such circumstances?

479


What is unix orphan process?

561


Why was unix invented?

475


What is ‘the principle of locality’?

564


What does the swapping system do if it identifies the illegal page for swapping?

658






What are positional parameters in unix?

494


Is learning unix useful?

494


Describe the term directory?

515


How to know the information about a file?

523


How does the kernel differentiate device files and ordinary files?

562


What is unix structure?

507


What is unix mtime?

507


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

5499


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.

4354


Enlist common shells with their indicators.

553