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

What does shebang mean in unix?

503


Is unix only for supercomputers?

473


How old is unix?

493


Differentiate swapping and paging.

487


What is awk sed unix?

491






Does unix have a gui?

505


Explain how do you create special files like named pipes and device files?

535


What are hidden files in unix?

528


How do I run a unix script?

483


How would you explain a kernel to a non-technical person?

541


Explain a path in unix.

500


What is unix and its components?

528


What is unix inode?

491


What is unix operating system?

526


Which are typical system directories below the root directory?

534