I have setup 2 cron jobs to run every 5 minutes for these two links below. how do I check to see if those cron are running? and are those settings/command are correct?
*/5 * * * * curl -s https://site.com/index.php?option=com_easysocial&cron=true */5 * * * * curl -s https://site.com/index.php?option=com_easysocial&crondata=true
Please advise
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @Haitiancorner,
I think that the cron jobs might not be running correctly because of the & sign in your URL, it is a special character and it might be causing some unexpected behavior.
What I would do is to add the URLs in quots:
*/5 * * * * curl -s 'https://site.com/index.php?option=com_easysocial&cron=true'
*/5 * * * * curl -s 'https://site.com/index.php?option=com_easysocial&crondata=true'
After that change, you could check the /var/log/syslog log to see if the corn jobs are running every 5 minutes.
Let me know how it goes! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.