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

Is mac a unix system?

508


For which kind of fault the page is checked first?

538


In what way the validity fault handler concludes?

545


How do I delete files older than 2 days unix?

487


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

464






Why unix is secure than windows?

536


How to make a new directory in unix?

536


Is windows a unix operating system?

504


What are the four components of the unix file system?

493


What is wild-card interpretation?

612


How is unix different from windows?

493


Is unix multiuser?

467


Is windows unix?

481


What is $# in unix?

488


Is mac a unix?

504