You can set the native WP cron and the External Cron here: WP-Admin > Almighty Support > Configuration > Advanced > Cron.
A cron job is a scheduling and automation tool available only on a Unix system like Linux. Creating cron jobs helps improve web page load times and management efficiency, as you don’t need to execute the same tasks repeatedly.
In the case of Almighty Support, the cron job is used to:
- trigger the mail queue to dispatch generated emails to the mail server
- automatically close tickets after “X” days, as set in “Auto-close delay” above. It takes effect after “X” days from the change of the ticket status to “Answered”. It will not trigger if the “Prevent auto close” is enabled, as explained here: https://my.almightysupport.com/documentation/frontend-agent/prevent-auto-close/
- remove private notes after “X” days, as set in Notes > “Delete after”, as explained here: https://my.almightysupport.com/documentation/config/notes/
- email piping, open and respond to tickets via email without logging on to the website, as explained here: https://my.almightysupport.com/documentation/config/email-piping/
- remove attachments after “X” days, as set in Attachments > “Delete after”, as explained here: https://my.almightysupport.com/documentation/config/attachments/
WP Cron – the native WP cron feature is built into every WordPress installation and runs in the background. It is triggered every time the page is loaded by the admin or user.
External Cron – this is a bit more challenging configuration at first, but it is very easy to set up. It will require access to the cPanel of your hosting. If you don’t know how to access your cPanel, please consult the hosting support. Every decent hosting provider should offer a cron job. If they don’t provide access to cron jobs, then, you have two options.
Change the hosting, or, use external Cron Job services like Easy Cron
- cPanel commands
After accessing cpanel cron jobs, this is the list of commands you can use:
wget https://domain.com/?alsp_process_mailqueue > /dev/null
curl https://domain.com/?alsp_process_mailqueue > /dev/null
wget https://domain.com/?alsp_process_autoclosed_ticket > /dev/null
curl https://domain.com/?alsp_process_autoclosed_ticket > /dev/null
Remove Private Notes
wget https://domain.com/?alsp_process_remove_private_notes_ticket > /dev/null
curl https://domain.com/?alsp_process_remove_private_notes_ticket > /dev/null
wget https://domain.com/?alsp_process_import_emails > /dev/null
curl https://domain.com/?alsp_process_import_emails > /dev/null
wget https://domain.com/?alsp_process_attachment_cleanup > /dev/null
curl https://domain.com/?alsp_process_attachment_cleanup > /dev/null
- External Cron Commands
If you decide to use external cron services like Easy Cron, then all you have to do is enter these commands:
Mail Queue : https://domain.com/?alsp_process_mailqueue
Auto Close : https://domain.com/?alsp_process_autoclosed_ticket
Remove Private Notes : https://domain.com/?alsp_process_remove_private_notes_ticket
Email piping : https://domain.com/?alsp_process_import_emails
Cleanup attachments : https://domain.com/?alsp_process_attachment_cleanup
The video tutorial on Cron: