2
Views
2
Comments
How i can use the Timers to called action by yearly
Question

Hi
i want ask how i can use the timer to use action yearly.? ,, the there is no option in the schedule to called action per year just Daily , Weekly , Day of Month , Weekday of Month and when publish .
Actuly i have request calculate the leavs days of empolyees per year and i make action to reset the leavs balance days evrey year...
Advice me please ..
Thanx

2020-12-07 17-35-54
António Chinita
Hi Mohannad,

Inside the action associated with the timer you can validate the date.
For example, assuming you have a timer running monthly at day 1, if you wanted your action to run only on January 1st you'd put an if inside your action.

Something along the lines of

if Month(CurrDate()) = 1 then --> DO STUFF
else --> DO NOTHING

Best regards :)
UserImage.jpg
Mohannad Krayem
Thnk you Antonio this is good idea , i will use it .
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.