Recurring SC Actions/Server side Scheduler (e.g. do X every 1st of the month)

Hey all,

Starting work on our subscriptions/products - one item, we’d like to give X credits per month, that renew each month.

I’ve taken a look at purely SC actions, and don’t see anything obvious such as a delay / date / time - can anyone point me in the right direction? This would be purely server side, so no front end interaction.

NodeJS project. I saw in a post that a scheduler was on the cards for Node but can’t see anything.

Thank you! :slight_smile:

Where are these credits ‘stored’? Is it essentially a column in their DB?

Yep, that’s it. And I subtract from these credits when they do so certain actions. I can renew credit balances based on a successful Stripe Webhook, but would like to provide ‘free’ recurring credits.

Ok. I don’t know off the top of my head, but if it’s just updating a DB column on a monthly basis I’d say it’s easy enough. I’m sure someone will chime in. I’m sure it’s fairly doable in server connect action file or maybe using the scheduler component in app connect.

Yes, I have to kick off a monthly activity too on 1st day of the month.

Was thinking on the app side to check if it is the 1st of the month and do a SC to see if the activity has happened this month whenever someone logs in… Assuming there is no clever way to do it in a server action.

At the moment I have cron jobs setup for recurring actions, some are set to repeat every day and others every month. Nice and simple, although mainly for php projects.