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 is pipe in unix example?

499


What are the bits that support the demand paging?

544


How to check the date in unix?

523


What is tilde unix?

501


What is unix environment?

475






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

514


What are the features and benefits of unix?

486


You have a file called tonky in the directory honky. Later you add new material to tonky. What changes take place in the directory, inode, and file?

661


How to log out in unix?

505


What are the features of unix operating system?

473


What is the root directory in unix?

478


For which kind of fault the page is checked first?

529


What is a unix file?

505


What are system variables in unix?

649


Describe the concept of “region”.

473