Re: Emulate(?) the crontab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It bounced back..hence sending again

On 1/10/07, Atishay Kumar <atishay.kumar@xxxxxxxxx> 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 <gamito@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux