Re: Emulate(?) the crontab

"Atishay Kumar" <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
It bounced back..hence sending again

On 1/10/07, Atishay Kumar <[email protected]> wrote:
> Yes Mario, I think you can do it.
>
> All you need to write a shell script which will wait run this command in a loop. The should contain logic to wait for 15 mins for every iteration.
>
> example
>
> while true
>       do
>              command
>              sleep 37  # Put whatever time you want. It should 15*60 for 15 mins.
>      done
>
>
> I hope that helps
>
> cheers/atishay
>
>
>
> On 1/10/07,  Mário Gamito <[email protected]> wrote:
> >  Hi,
> >
> > I have this blog agregator in http://www.planetgeek.org
> >
> > It is hosted, i. e., i'm paying for the hosting.
> >
> > The agregator software must run a one line command every 15 minutes to
> > rebuild the index.html of the site.
> >
> > The command is
> > #planet.py geek/fancy/config.ini
> >
> > It represents no stress at all for the server.
> >
> > Meanwhile, i've asked the support to insert the line in the crontab.
> >
> > Now, they want me to pay 29 euros a month for that line in the crontab.
> > It's outrageous. It's twice than the hosting cost itself.
> >
> > I wonder if there could be written a script (bash, perl, python), that
> > *without crontab* could run the command I need.
> >
> > Any help would be appreciated.
> >
> > Warm Regards,
> > Mário Gamito
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> >  the body of a message to [email protected]
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>
>
> --
> Atishay Kumar



-- 
Atishay Kumar
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.