krileon wrote: CB Auto Actions performs actions on events. You don't have an event for it to act on. So your only options are to run your auto actions on every user on the site using Internal Users and a CRON task or acting on something like onAfterLogin to perform the action anytime a user logs in. Neither of these are perfect solutions for what you're trying to do since CB Auto Actions is not a scheduler. It just performs actions on specified events automatically.
Please Log in or Create an account to join the conversation.
Then you've an engagement problem with your site that spamming them with emails isn't going to fix. Consider using a newsletter extension like AcyMailing so they can opt-in/out of your emails. They won't be able to do that with an email forced through CB Auto Actions unless you setup a checkbox field and condition against it, but at that point why put in all that effort to make a fake newsletter extension instead of using a newsletter extension. Once you've a proper newsletter setup you should work on making your site more engaging for your users and using newsletters to notify them about new/upcoming things.that's because users, once registered, they no longer return on the website, nor they login in their profile.
A wget CRON can be setup to execute auto actions, yes. If your auto action as the Internal Users trigger and your CRON task calls the Internal Users URL provided in CB Auto Actions > Parameters it will loop every user on your site through the auto action. I again do not recommend doing this.So a CRON job can be setup and does it resolve the issue?
Please Log in or Create an account to join the conversation.
Consider using a newsletter extension like AcyMailing so they can opt-in/out of your emails.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: Your auto action would send them an email every time it is ran would be the issue. You'd need it to send once and never again. So you'd need 1 auto action that actually sends the email and another auto action that updates a field to condition against in the first auto action so it skips over users that have already been emailed. As I've explained CB Auto Actions isn't a scheduler so it's not really equipped for these usecases, but if you want to force it you can I guess. You'd have something like the below
Global
Triggers: Internal Users
Type: Email
User: Automatic
Access: Everybody
Conditions
Condition 1
Field: Custom > Value
Custom Value: [cb:parse function="time"][FIELD_NAME][/cb:parse]
Format Functions: SELECTED
Operator: Greater Than or Equal To
Value: [cb:parse function="time"][cb:date format="Y-m-d" /][/cb:parse]
Format Functions: SELECTED
Condition 2
Field: cb_alreadynotified
Operator: Not Equal To
Value: 1
Action
configure email as needed
krileon wrote: Global
Triggers: Internal Users
Type: Field
User: Automatic
Access: Everybody
Conditions
Condition 1
Field: Custom > Value
Custom Value: [cb:parse function="time"][FIELD_NAME][/cb:parse]
Format Functions: SELECTED
Operator: Greater Than or Equal To
Value: [cb:parse function="time"][cb:date format="Y-m-d" /][/cb:parse]
Format Functions: SELECTED
Condition 2
Field: cb_alreadynotified
Operator: Not Equal To
Value: 1
Action
Field: cb_alreadynotified
Operator: Set
Value: 1
cb_alreadynotified should be a checkbox field. The first auto action checks if cb_alreadynotified is not set to 1 (checked). If it's not set to 1 it emails them. If it is set to 1 it skips them. The second auto action sets cb_alreadynotified to 1 if it isn't already set to 1. This will prevent the user from being notified multiple times.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.