Anima Posted March 14, 2018 Posted March 14, 2018 Hello everyone, I'm having this problem when I try to add a cron job.
0 SLiCK_303 Posted March 14, 2018 Posted March 14, 2018 what version of the cronjob module are you using?
0 Anima Posted March 14, 2018 Author Posted March 14, 2018 v2.1.1 remove and re-install the error disappeared, but I can no longer add tasks, they simply do not stay after save
0 SLiCK_303 Posted March 14, 2018 Posted March 14, 2018 yup, a common problem, d/l the old version, and make sure you dont upgrade it in BO>modules.
0 Anima Posted March 14, 2018 Author Posted March 14, 2018 I will get the latest version in github, because when I was trying to update it was giving error
0 SLiCK_303 Posted March 14, 2018 Posted March 14, 2018 no, the latest version is 2.1.1, and it doesnt work, get 2.1.0
0 Anima Posted March 14, 2018 Author Posted March 14, 2018 Then there must be some error in the updates, I did not update anything beyond the paypal outside the automatic update tb, I do not know how this updated module came to stop in the store Thanks a lot for the help!
0 Pedalman Posted March 14, 2018 Posted March 14, 2018 Slick, could you be so nice to write a tutorial on how to use the cron module properly? I used cronjobs.org and entered all cron urls from modules I needed and that worked flawlees most times. But I liked not to have to much external services so I can sleep better. So, I had a look at this module but I do not understand how it actually works. My hoster called Hetzner offers to me in its console also a cronjob form. But I failed to make use of it. I seem to miss the right schema to enter the jobs. Sometime I get error message like parameter ?token etc. not allowed. I think it is meant to load purely files but here I am lost. Is the module connected to host's own cron function? Do I enter all URLs I get from modules like the sitemap one into the TB cronjob module (V2.0 as you suggested) and then I have to make sure my host calls this module? thank you
0 SLiCK_303 Posted March 14, 2018 Posted March 14, 2018 You setup every job in the cronjob module, then schedule a task (plesk) to run those cron jobs. I'm not sure what its called in cPanel. Do you use Plesk or cPanel on your server? You setup your server to run a scheduled task, like this in plesk. Im not sure how to do it in cPanel as I dont use it, but I'm sure it called something different, but works basically the same. Changing the Script path and token to whatever the cron job module says to use. Also, I put in 0,5,10,15 0 * * *, because I have my cron jobs running at midnight, and 0 mins, 5 mins, 10 mins, and15 mins, four jobs. You can set yours to just run at * * * * *, to run at all times if you want. Then in the cron jobs module you simply setup like this... See how I have each job running at midnight, and 0, 5, 10, and 15 mins? Again you can run them at anytime you see fit, if you use * * * * * in your servers task setup.
0 SLiCK_303 Posted March 14, 2018 Posted March 14, 2018 Ok guys, a new version of the cron job has been released, v 2.1.2, that solves the issue of not being able to enter new cronjobs. So use it, not 2.1.0, or 2.1.1
0 Pedalman Posted March 14, 2018 Posted March 14, 2018 Thank you for the tut and initiating the update of the module. Great. V2.1.2 now works. I had to deinstall the old one. I also deleted it.
Question
Anima
Hello everyone, I'm having this problem when I try to add a cron job.
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now