LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   auto execute shell script (https://www.linuxquestions.org/questions/linux-software-2/auto-execute-shell-script-233746/)

ykirankumar 09-22-2004 04:19 AM

auto execute shell script
 
Hi,
I have done a small shall script program.(name as script1.sh) This Script (script.sh) has to execute every minute at back end.can u help me any body how to do this problem.


Thanks and regards
kiran

serz 09-22-2004 04:31 AM

Set up a cron job.

mirradric 09-22-2004 04:31 AM

2 easy ways to wake your script. Use cron or use sleep

Code:

man -s 5 crontab
man sleep

The cron approach is probably better

serz 09-22-2004 07:23 AM

http://linux.about.com/library/cmd/blcmdl5_crontab.htm


All times are GMT -5. The time now is 01:28 PM.