as you probably can tell already I am not an IT expert at all, so I need again help from you guys :D
I read the Cron job tutorials of you but I never understand if I need to use it as a PHP type or custom type. So on my Host service I couldn't figure it out.
I tried to solve it with the suggested plugin "WP Control" but also there I dont understand if I have to paste the code as "Add Cron Event" or " Add PHP Cron event"??
And is the code enough or do I need to say how often it should be sent? I want a simple reminder for my clients one day before the lesson, if they have one. The email should of course NOT be sent when the student has no lesson the next day.
cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.
WP Crontrol plugin is the best option if you're not familiar with cron jobx. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
So, since you already read that, here's some furhter info.
You copy only the URL from below a scheduled notification:
Then, in Crontrol go to "Cron Schedules", and scroll all the way down. Add a 15 minute interval:
Then go to "Add PHP Cron Event" and add the URL you've copied like this:
So:
file_get_contents("yourURL");
Below it add the name, and set it to run a few minutes in the future, using the provided time format. So, if you're adding the cron event at 12:45, set it to run at 12:50; and then select the schedule you previously selected:
Click on Add Event, and that's it.
The cron runs every 15 minutes, and checks if there's an email to be sent. So, in Amelia Notifications, your scheduled notifications are set to run every day at a certain time. If you set that time to be 15:00 (for example), the emails will be sent when the cron runs after that time.
For example, there's an appointment booked for tomorrow, and it's currently 14:44 - the cron runs, but since it's not yet 15:00, it doesn't send anything. It runs again after 15 minutes, so at 14:59, but there are still no emails flagged by Amelia, so it doesn't send anything. Then it runs again at 15:14 and it sees there's an email that should've been sent at 15:00, so it sends the email. It will only send emails when Amelia sees an appointment scheduled for the next day.
as you probably can tell already I am not an IT expert at all, so I need again help from you guys :D
I read the Cron job tutorials of you but I never understand if I need to use it as a PHP type or custom type. So on my Host service I couldn't figure it out.
I tried to solve it with the suggested plugin "WP Control" but also there I dont understand if I have to paste the code as "Add Cron Event" or " Add PHP Cron event"??
And is the code enough or do I need to say how often it should be sent? I want a simple reminder for my clients one day before the lesson, if they have one. The email should of course NOT be sent when the student has no lesson the next day.
Thank you!!
Hello Phil
cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.
WP Crontrol plugin is the best option if you're not familiar with cron jobx. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
So, since you already read that, here's some furhter info.
You copy only the URL from below a scheduled notification:
Then, in Crontrol go to "Cron Schedules", and scroll all the way down. Add a 15 minute interval:
Then go to "Add PHP Cron Event" and add the URL you've copied like this:
So:
Below it add the name, and set it to run a few minutes in the future, using the provided time format. So, if you're adding the cron event at 12:45, set it to run at 12:50; and then select the schedule you previously selected:
Click on Add Event, and that's it.
The cron runs every 15 minutes, and checks if there's an email to be sent. So, in Amelia Notifications, your scheduled notifications are set to run every day at a certain time. If you set that time to be 15:00 (for example), the emails will be sent when the cron runs after that time.
For example, there's an appointment booked for tomorrow, and it's currently 14:44 - the cron runs, but since it's not yet 15:00, it doesn't send anything. It runs again after 15 minutes, so at 14:59, but there are still no emails flagged by Amelia, so it doesn't send anything. Then it runs again at 15:14 and it sees there's an email that should've been sent at 15:00, so it sends the email. It will only send emails when Amelia sees an appointment scheduled for the next day.
I hope that helps.
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
That's an amazing answer, and a amazing support from your side. Even I understand it now!
I gave you access for my WP-admin for my SMTP issue, let me know if the access works.
Thanks for all your help, really appreciate it!
Hi again Phil, you're most welcome!
Based on the response in the other ticket, I'd say this is resolved?
If not, please let me know.
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