16
Views
4
Comments
Set the timer for defined date of a month
Question

Hi

Is that possible to set timer only one time in a year. eg. December31 night ?

If yes, what are the possible ways and what is the best?

Thanks ahead

EM

Hey EM,

I don;t think we have a straightforward option to do it, An approach I can think of is to set it for last day of every month and in your timer logic the first step should be to check if it's December then only go to next step, else exit.

Hope that makes sense !


Cheers,

Tushar

Rank: #460

EiMon WA wrote:

Hi

Is that possible to set timer only one time in a year. eg. December31 night ?

If yes, what are the possible ways and what is the best?

Thanks ahead

EM

 Hi EiMon,

We don't have option to schedule the timer on particular date. But we can create timer schedule daily at one 00.00 to execute action called "cehckifyourtimerdate" in that action you check if current date is Dec 31 then Wake<Timer Name> i.e you timer to run otherwise do nothing.

cheers.... 

 

Rank: #90

 Hi EiMon, 

you need to do one thing Use "Cyclic_job" and Meta_Cyclic_Job. enityt in your application

Meta_cyclcic_job is content timer Name 

Cyclic_job content timer details next_run ,Last_RUn,

So progamatically you can set date in next run once the time match TImer will be run.


Hope this will help you.

Regards

Rahul Sahu