> Any possibility in allowing a %<alnum> variable in a
> calendar rule?

No, unfortunately that is not possible - %<alnum>
variables are for use in action lists only, and they
are evaluated when the action list is executed. If you
would like to have variable times for Calendar rule,
you can achieve this by defining a 'context' field for
the rule. Then you can activate/deactivate the rule
with creating or deleting context(s). Another way for
addressing this problem is to use a Perl miniprogram
for the 'context' field - this is most appropriate if
you would like to evaluate a certain arithmetic
expression as a condition for action execution.
hth,
risto

> 
> For example:
> 
> type=Calendar 
> time=0 %hour * * * 
> desc=daily cleanup
> action=shellcmd dailycleanup.sh
> 
> I'm guessing there would be a problem with
> scheduling if the %hour value
> ever changed (as it could), but perhaps the time
> could be updated with
> the current %hour value only after the initially set
> calendar event time
> occurs.  For example, if %hour started out as 17 but
> before hour 17 the
> %hour was changed to 16, the calendar event would
> still run at hour 17
> and then afterwards be updated with the current
> %hour value of 16.
> 
> I have a "potential" use for such a capability, but
> not a problem I need
> to solve at this time.  Just a thought for now.
> 
> Regards,
> Rock
> 
> 
> *****
> 
> The information transmitted is intended only for the
> person or entity to which it is addressed and may
> contain confidential, proprietary, and/or privileged
> material. Any review, retransmission, dissemination
> or other use of, or taking of any action in reliance
> upon this information by persons or entities other
> than the intended recipient is prohibited. If you
> received this in error, please contact the sender
> and delete the material from all computers. GA622
> 
> 
> 
>
-------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Simple-evcorr-users mailing list
> Simple-evcorr-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
> 



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to