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 / 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 |
Post New Answer View All Answers
Explain a path in unix.
What is unix and why it is used?
What is the role of the kernel in unix?
What are the three main components of unix architecture?
How to log out in unix?
How to remove the directory in unix?
How to get the n-th field from a Unix command output?
What is a directory?
How to terminate a shell script if statement?
What is unix portability?
Is unix free to use?
Write a shell script that requests the user's age and then echoes it, along with some suitable comment.
How can you edit a large file without opening it in unix?
Why was unix invented?
What is unix mtime?