Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 9, 20213 yr 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 :
April 9, 20213 yr Author 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.
April 9, 20213 yr @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, 20213 yr by Afrodude
April 9, 20213 yr Author ok - thanks. I have set it now that that command can be run once a minute. And " outgoing mails " can be left empty ?
April 9, 20213 yr 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, 20213 yr by Afrodude
April 9, 20213 yr Author ok - this is how it looks now and I changed the chmod for that file which was suggested in the Admin CP there.
April 9, 20213 yr Cool @hpcrazy just press add, and wait to see that warning has been removed from your ACP.
April 9, 20213 yr 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.
April 9, 20213 yr @CoffeeCake the option says Minutes then select a value or multi values. It should be working fine.
April 9, 20213 yr 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.
April 9, 20213 yr 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.
April 9, 20213 yr Author 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
April 9, 20213 yr 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?
April 10, 20213 yr Author 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.
April 10, 20213 yr 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 🙂
April 10, 20213 yr 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. 🙂
April 12, 20213 yr 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?