We have WordPress multisite setup and we are using Amelia. How we can configure cron job for sending scheduled notifications of bookings? We have 1200+ sites in our multisite setup. Current method is by placing cron job with each site URL , but it is adding too much load on server and freezing our server for 1200+ sites, Please suggest us valid solution for multi site cron setup. You can also guide if it is possible by making some changes in code, we can do that too. But we need solution for sure. Please respond asap. Thanks
Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
I hope you read our message carefully and before reply consecrated on word "WordPress MultiSite". Is it? But your reply not stating it. We know how to configure cron job on server. Our question is different. You just answered based on word "Cron" . Please READ IT CAREFULLY AND RESPOND WITH VALID ANSWER. THANKS
Please note, Harry, that we do not provide live support.
We're going through tickets in the order in which they are received or responded to, so you'll receive a response for every ticket once we reply to all others that replied before you did.
Since your multisite is hosted on the same server, you would be able to configure it through your cPanel, as indicated in my previous response. The way you're running cron events may not be ideal, but we do not support WordPress installations, so we don't provide support for creating better UX for you or your customers. The way you have the cron set up is working, and is valid, but if you're looking for a better way to run crons on a multisite, you may want to reach out to your hosting provider, or look for similar issues and solutions on WordPress forums; stack overflow, etc.
Like I said - there are numerous ways of running crons, regardless if the site is a single domain, or if it has a thousand subdomains. For example, you can take a look at this thread, and see how crons can be set up on a multisite installation using WP-CLI. You can also take a look at this website for more help about this.
Did you checked your plugin cron with wordpress multisite of atleast 10 sites? if I configure cron with this , will it work for all subsites of our multisite , appx. 1200+ sites.?
We never tested the cron jobs on a multisite with over 5 subdomains, so I can't say if it will work without any issues like this.
Amelia has support for cron events, but it is not something we provide support for. You would need to reach out to a dev ops to see if this would work on a multisite as big as yours.
Hi support,
We have WordPress multisite setup and we are using Amelia. How we can configure cron job for sending scheduled notifications of bookings? We have 1200+ sites in our multisite setup. Current method is by placing cron job with each site URL , but it is adding too much load on server and freezing our server for 1200+ sites, Please suggest us valid solution for multi site cron setup.
You can also guide if it is possible by making some changes in code, we can do that too. But we need solution for sure. Please respond asap. Thanks
Hello Harry
Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
Also, you can try this:
*/15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"
Or this:
*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'
You should reach out to your hosting provider about this, but this second piece of code is added through cPanel usually.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
I hope you read our message carefully and before reply consecrated on word "WordPress MultiSite". Is it?
But your reply not stating it. We know how to configure cron job on server. Our question is different. You just answered based on word "Cron" .
Please READ IT CAREFULLY AND RESPOND WITH VALID ANSWER. THANKS
ANY CHANCE WE WILL RECEIVE VALID REPLY FROM YOUR END?
Please note, Harry, that we do not provide live support.
We're going through tickets in the order in which they are received or responded to, so you'll receive a response for every ticket once we reply to all others that replied before you did.
Since your multisite is hosted on the same server, you would be able to configure it through your cPanel, as indicated in my previous response. The way you're running cron events may not be ideal, but we do not support WordPress installations, so we don't provide support for creating better UX for you or your customers. The way you have the cron set up is working, and is valid, but if you're looking for a better way to run crons on a multisite, you may want to reach out to your hosting provider, or look for similar issues and solutions on WordPress forums; stack overflow, etc.
Like I said - there are numerous ways of running crons, regardless if the site is a single domain, or if it has a thousand subdomains. For example, you can take a look at this thread, and see how crons can be set up on a multisite installation using WP-CLI. You can also take a look at this website for more help about this.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Did you checked your plugin cron with wordpress multisite of atleast 10 sites? if I configure cron with this , will it work for all subsites of our multisite , appx. 1200+ sites.?
*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'
Hi again Harry
We never tested the cron jobs on a multisite with over 5 subdomains, so I can't say if it will work without any issues like this.
Amelia has support for cron events, but it is not something we provide support for. You would need to reach out to a dev ops to see if this would work on a multisite as big as yours.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables