LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   about cron job (https://www.linuxquestions.org/questions/linux-newbie-8/about-cron-job-664864/)

yadava 08-23-2008 01:42 PM

about cron job
 
can we set a cron job like that after every 10 seconds date command execute

Mr. C. 08-23-2008 03:00 PM

No, cron has 1 minute resolution. Where would you want the output to go ?

What are you trying to accomplish?

vikas027 08-25-2008 12:07 AM

Alternatively , you can use

while true;
do
your command;
sleep 10;
done


All times are GMT -5. The time now is 05:14 PM.