Scheduled Actions - Staging Server

Hello Everyone,

I have some scheduled actions on my webapp (reminders emails) and they need to be run only on the production server, not in the staging server…Is that possible?

Thanks!

You can enclose the action in an if condition and check the $_ENV value

thanks @JonL, should I use which env variable?

It’s $_ENV.NODE_ENV

1 Like