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

Differentiate between absolute and related path?

1101


What is unix inode?

675


What are pipes and filters in unix?

883


Write a shell script that requests the user's age and then echoes it, along with some suitable comment.

1201


What does unix .profile contains?

786


Is windows built on unix?

770


What is unix language?

674


What is the use of -l when listing a directory?

669


What is grep family in unix?

692


What are the criteria for choosing a process for swapping out of the memory to the swap device?

788


How to find the path in unix?

790


What is file structure in unix?

681


What are the entities that are swapped out of the main memory while swapping the process out of the main memory?

760


Is unix os free?

691


How to reverse a string in Unix?

780