Need help on setting Cron in bluehost. I´m getting errors using the lines suggested in the plugin... As well as with lines suggested in other tickets. Do you have some suggestion on how the command should be added?
Depending on the server there are different configurations for cron events, which you can contact your hosting provider about, or you can check out one of the solutions on this link.
Aleksandar I checked with Bluehost, the route to the comand is diferent. Now I have the proper routing Am I correct that I should add a line in admin-ajax.php? Is that line:
You shouldn't be adding anything to Amelia's files. The command should be configured on your server, and if the Bluehost's command is different, that's OK as long as you follow the structure.
So, when adding a cron job, you define the timing of how often it is repeated:
Each asterisk is for different recurring interval, so:
0 * * * * - run once an hour (every hour at minute zero)
0 0 * * * - run once a day (every day at midnight and minute zero)
And so on. The cron event on your server reads when the cron will run, and the rest is done using the command you enter.
Hey there again Alexsandar... WP Crontrol worked fine after I set it up. But is not working. The php event is not there anymore... I'm creating a new one, and it says it's createdm but it doesn't appear in the cron list. WP crontrol is updates, as well as WP and Amelia to latest version. Any ideas?
Aleksandar is out of the office, so I will try to help out.
We haven't changed anything regarding this matter in Amelia. So, You need to check if the plugin WP Crontrol changed something in the update, you can ask them about this, or check with your hosting if they changed something on the server regarding this matter - and what is the cron configuration needed. But if you can't see the crons that you created in the list in the WP Crontrol plugin, maybe there is some issue or they changed something in the plugin itself.
Need help on setting Cron in bluehost. I´m getting errors using the lines suggested in the plugin... As well as with lines suggested in other tickets. Do you have some suggestion on how the command should be added?
Hello Mario
Depending on the server there are different configurations for cron events, which you can contact your hosting provider about, or you can check out one of the solutions on this link.
Also, you can try this:
*/15 * * * * wget -q -O - "http://somasessions.net/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"
If that doesn't help you, my suggestion is to try with WP Crontrol plugin. You have detailed instructions in our FAQ section (look for WP Crontrol)
Best regards.
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
Aleksandar
I checked with Bluehost, the route to the comand is diferent. Now I have the proper routing
Am I correct that I should add a line in admin-ajax.php?
Is that line:
action=wpamelia_api&call=/notifications/scheduled/send"
Is there something I should change as well in the plugin files?If so, could you give me instructions on it.
Thanks a lot.
Hello again Mario
You shouldn't be adding anything to Amelia's files. The command should be configured on your server, and if the Bluehost's command is different, that's OK as long as you follow the structure.
So, when adding a cron job, you define the timing of how often it is repeated:
Each asterisk is for different recurring interval, so:
0 * * * * - run once an hour (every hour at minute zero)
0 0 * * * - run once a day (every day at midnight and minute zero)
And so on. The cron event on your server reads when the cron will run, and the rest is done using the command you enter.
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
Thank you Alexandar.
It worked with WP-control!
You're welcome, Mario
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
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
Hey there again Alexsandar...
WP Crontrol worked fine after I set it up. But is not working.
The php event is not there anymore...
I'm creating a new one, and it says it's createdm but it doesn't appear in the cron list.
WP crontrol is updates, as well as WP and Amelia to latest version. Any ideas?
Hello Mario,
Aleksandar is out of the office, so I will try to help out.
We haven't changed anything regarding this matter in Amelia. So, You need to check if the plugin WP Crontrol changed something in the update, you can ask them about this, or check with your hosting if they changed something on the server regarding this matter - and what is the cron configuration needed. But if you can't see the crons that you created in the list in the WP Crontrol plugin, maybe there is some issue or they changed something in the plugin itself.