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 / santosh sathe

The only possible option is to write a script to execute
after every second in a minute.
cron will execute the script after every minute and the
script will start to execute the same after every second.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of files are there in unix?

549


Is mac unix like?

494


How to terminate a shell script if statement?

571


What is directory unix?

511


What scheme does the Kernel in Unix System V follow while choosing a swap device among the multiple swap devices?

535






What unix means?

499


Explain some of the fundamental concepts of unix?

462


What are the file permissions and access modes in unix?

489


What is the home directory in unix?

493


How to reverse a string in Unix?

578


Explain what is inode?

548


How do I find my unix os version?

506


Is it possible to count number char, line in a file; if so, How?

719


What is unix used for?

516


How to list directories in unix?

555