Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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.

Answers were Sorted based on User's Feedback



1)How to schedule a job,that will periodically execute in second by crontab? 2)I know only second ..

Answer / 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

1)How to schedule a job,that will periodically execute in second by crontab? 2)I know only second ..

Answer / rhino

There need to be an enhancement in Unix to support this
feature which is not relavant

Cron job wakes up every minute and checks if there exists
any process in cron that requires to be executed , If yes
it executes the job and sleep again to wake up in the next
minute

Is This Answer Correct ?    2 Yes 1 No

1)How to schedule a job,that will periodically execute in second by crontab? 2)I know only second ..

Answer / 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

More Unix General Interview Questions

What are the various ids in unix processes?

0 Answers  


What is unix operating system?

0 Answers  


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

0 Answers  


Why does the server parent need to close the connected socket returns from accept in a concurrent TCP server? What may happen if it does not do so?

1 Answers  


Consider a TCP echo client which blocks on fgets which read input from standard input. If now the corresponding server process crashes, what will client TCP kernel receive? Can the client process receive that? Why or why not? How you solve the above problem?

1 Answers  






What is procedure to configure Mirror rootvg in HP-UX?

2 Answers   IBM, Microsoft,


What methodology can be utilized to modify the password in unix?

0 Answers  


What does ls lrt in unix?

0 Answers  


What are my options if I want to turn on security with a non-root server ID in a UNIX® environment?

0 Answers   IBM,


Is it possible to restrict incoming message?

0 Answers  


How to install unix on windows 10?

0 Answers  


What is the full form unix?

0 Answers  


Categories