nope, i think he just wants a "simple" batch system that ordinary users could use (w/o the use of at, cron and batch)

translation: a simple batch file

alben, have u tried playing around with the example tiger gave u?
--------------------
#/bin/bash
while true
do
   if <the time is right>
   then
       <do the task>
   fi
   sleep 1
done
--------------------

u can build upon his example in order to create more complex script files

u can try calling other script files or invoke functions that would execute the tasks for the main script file (and make it run in the background)





Kenneth Oncinian wrote:
I bet...you are a disgruntled administrator, created a script which will cause havoc to the organization's *nix boxes, you want to trigger it on a certain date and time, probably when you are at home or not in the office (perfect alibi), since your boss also has the root account, thus can check cron jobs, you *really* don't want to use cron. ;-)

I'm Just kidding...
:-)

cheers,
Kenneth

alben benavente alteza wrote:

As much as possible I don't want to use cron. I want my script to be self sufficient. I am also interested if such thing is possible.

Do you have some idea on how to do this? Please advice.

thanks

On Tuesday 20 July 2004 21:58, Michael Chaney wrote:

On Tue, Jul 20, 2004 at 03:10:22PM +0800, alben benavente alteza wrote:

For some reason I just can't use cron.

this works well, you mean for some time this will stop?

Now my new problem arise. How do I run multiple task in a single script
with different time interval?


Let's attack this from a different angle.  Why do you think you can't
use cron?

Michael




-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie





-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to