Hi all,
2011/10/30 <[email protected]>:
> Hi David,
>
> Sorry it took so long to get back to this.
>
> What you say about using TZ would be a great idea, but not on a couple of
> hundred files.
> I would still have the problem of differentiating between EST files and
> Asia files and the correct loading a crontab program loaders.
>
> I go back to my original question:
>
> I need 2 instances of LS to ensure that the correct timezone with the
> correct time-switch would be loaded. Otherwise, with only one LS loading
> the wrong day and LS would barf, since the wrong programs would be loaded
> by crontab.
>
> How do I implement 2 separate LS instances that are totally isolated from
> each other?
Just a naive response:
# crontab
@daily TZ=Foo/Bar /usr/bin/liquidsoap /path/to/script.liq
@daily TZ=Gni/Gna /usr/bin/liquidsoap /path/to/script2.liq
This wouldn't work?
Otherwise, I have just added "setenv" to the latest HG code, which
should allows you to do:
setenv("TZ", "Foo/Bar")
from within your scripts.
Romain
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World™ now supports Android™ Apps
for the BlackBerry® PlayBook™. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users