Hi all,

Im having trouble setting up a rule. Heres what i have and want:

I have a ticket system installed with a specific amount of tickets per user per month and the amount left for the month. I have put those in decimal fields on the user page with field permission so that only admin can edit and user can only see the fields. The rule i have made so far is that when a user creates a new ticket(content) the tickets left goes -1 and that works perfectly. What im having trouble with is to set up a rule which resets the tickets left with the value from the given tickets per month on every 1st of the month. Can someone point me in the right direction ?

Kind regards,
Combait

Comments

tr’s picture

Assigned: combait » Unassigned
Issue summary: View changes
Status: Active » Fixed

You could trigger on the event 'Cron maintenance tasks are performed' and check the date with a condition. Or you could use Rules scheduler to schedule a rule for the 1st of the month.

tr’s picture

Status: Fixed » Closed (fixed)