hpcrazy Posted April 9, 2021 Posted April 9, 2021 I am getting recurring warning messages in my Admin CP that " Wartungsarbeiten " Maintenance Jobs can not be proceeded on my server and I need to setup the Cron Jobs on my server for that. What would be this ? I have no idea - any help ? Here the warning message in german :
hpcrazy Posted April 9, 2021 Author Posted April 9, 2021 15 minutes ago, Afrodude said: @hpcrazy do you've full access to your server? This is the window which opens up when I want to add cron jobs. I have no clue what to do there. On my old server there was no such problem.
Afrodude Posted April 9, 2021 Posted April 9, 2021 (edited) @hpcrazy this is good. In the title type down any name ex "My forum cron job" Command to run in here you must copy this from you ACP When to run must be changed to every minute. Edited April 9, 2021 by Afrodude
hpcrazy Posted April 9, 2021 Author Posted April 9, 2021 ok - thanks. I have set it now that that command can be run once a minute. And " outgoing mails " can be left empty ?
Afrodude Posted April 9, 2021 Posted April 9, 2021 (edited) 4 minutes ago, hpcrazy said: ok - thanks. I have set it now that that command can be run once a minute. And " outgoing mails " can be left empty ? Yes. It can be left empty, but don't forget to get that command from your ACP. It must be copied from your ACP only. Edited April 9, 2021 by Afrodude
hpcrazy Posted April 9, 2021 Author Posted April 9, 2021 ok - this is how it looks now and I changed the chmod for that file which was suggested in the Admin CP there.
Afrodude Posted April 9, 2021 Posted April 9, 2021 Cool @hpcrazy just press add, and wait to see that warning has been removed from your ACP.
hpcrazy Posted April 9, 2021 Author Posted April 9, 2021 looks ok at the moment 😄 thanks for your help 🙂
CoffeeCake Posted April 9, 2021 Posted April 9, 2021 I'm trying to sort out what that web interface is doing, but I don't think you have it just right. You want the job to run every minute, not just at :01 past the hour. If that "when to run" box or the "selected minutes" have an option that says "run every minute" or similar you want to select that. If not, you want to select every option in the box with the :01 selected.
Afrodude Posted April 9, 2021 Posted April 9, 2021 @CoffeeCake the option says Minutes then select a value or multi values. It should be working fine.
CoffeeCake Posted April 9, 2021 Posted April 9, 2021 1 minute ago, Afrodude said: @CoffeeCake the option says Minutes then select a value or multi values. It should be working fine. My read of this setting is that it will run once an hour, at :01 after the hour (12:01, 1:01, 2:01, 3:01, etc.). To have cron working correctly, it needs to run much more frequently than that. You'd need to select all the values in the list (assuming 00 - 59), or some other option in that drop down that is a shortcut for doing the same. Afrodude 1
Afrodude Posted April 9, 2021 Posted April 9, 2021 Oh you are right @CoffeeCake. @hpcrazy as @CoffeeCake pointed out in the last option you must select all values from 00 to 59 in order to make it work.
hpcrazy Posted April 9, 2021 Author Posted April 9, 2021 4 hours ago, Afrodude said: Oh you are right @CoffeeCake. @hpcrazy as @CoffeeCake pointed out in the last option you must select all values from 00 to 59 in order to make it work. I tried to select all minutes - only 10 values are available sobrenome 1
CoffeeCake Posted April 9, 2021 Posted April 9, 2021 2 hours ago, hpcrazy said: I tried to select all minutes - only 10 values are available What other options does that web thing give you? What are all the values in the drop down "When to run" and "Minutes"? Can you edit /etc/crontab on your server via SSH? sobrenome 1
sobrenome Posted April 9, 2021 Posted April 9, 2021 9 hours ago, AlexWebsites said: See: Can custom task methods be added?
CoffeeCake Posted April 9, 2021 Posted April 9, 2021 1 hour ago, sobrenome said: Can custom task methods be added? Yes! sobrenome 1
hpcrazy Posted April 10, 2021 Author Posted April 10, 2021 I contacted the support of my webhost - it's only possible to run the cronjobs every 5 minutes. I will see if that will work. sobrenome 1
Davyc Posted April 10, 2021 Posted April 10, 2021 Easycron will sort you out in the blink of an eye, and they're cheap too. I use them and have never had any issues. I use their starter pack which is $12 a YEAR. https://www.easycron.com/user/register 🙂 sobrenome 1
CoffeeCake Posted April 10, 2021 Posted April 10, 2021 12 hours ago, hpcrazy said: I contacted the support of my webhost - it's only possible to run the cronjobs every 5 minutes. I will see if that will work. That's just nonsense. New host time. 🙂 sobrenome 1
sobrenome Posted April 12, 2021 Posted April 12, 2021 On 4/9/2021 at 8:18 PM, CoffeeCake said: Yes! Nice! I will learn and build! First doubt: plugin or app for just some tasks?
Recommended Posts