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

What do you mean by unix?

607


Differentiate between absolute and related path?

582


Is unix a programming language?

595


Is unix os free?

589


How to give execute permission for a file in unix?

586






Is mac terminal unix?

568


How would you display the last line of a file?

579


How do you sort in unix?

641


What is the command to connect to remote terminals

610


List a few significant features of unix?

582


How to find out what processes are running in the background in unix?

638


Differentiate multiuser from multitask.

653


What is hardlink and softlink in unix?

627


Explain what is standard unix streams ?

604


How the Kernel handles the fork() system call in traditional Unix and in the System V Unix, while swapping?

607