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

Why was unix invented?

543


What is difference between unix and windows?

551


How to null a file in unix?

710


Is unix os free?

589


How to perform a system shutdown in unix?

609






How do you switch from any user type to a super user type?

647


Does mac use unix?

592


What are the phases of swapping a page from the memory?

628


How do I run a .sh file in unix?

538


Discuss the mount and unmount system calls ?

620


How do you kill a job in unix?

591


Describe a link in unix.

562


Does ios use unix?

593


What language is unix written?

583


What is the difference between an absolute path and a relative path in unix?

635