Jump to content

Featured Replies

Posted

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 :

wartung.thumb.JPG.2ada1f1d67e3e0d0cce74b26d30ffcd7.JPG

@hpcrazy do you've full access to your server?

  • 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.

205477667_cronjobs.thumb.JPG.0bffafb9e271189c5700776dff96f119.JPG

 

@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

2019-09-19_14-36-04.png.f850c15f226d73c2

When to run must be changed to every minute.

Edited by Afrodude

  • Author

ok - thanks. I have set it now that that command can be run once a minute. And " outgoing mails " can be left empty ?

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 by Afrodude

  • Author

ok - this is how it looks now and I changed the chmod for that file which was suggested in the Admin CP there.

cron.thumb.JPG.b53dbded4686a59693c7c97660ec4ced.JPG

Cool @hpcrazy just press add, and wait to see that warning has been removed from your ACP.

  • Author

looks ok at the moment 😄 thanks for your help 🙂

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.

@CoffeeCake the option says Minutes then select a value or multi values. It should be working fine. 

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.

image.png.c68db472a2630fe82cba35ebc26b843d.png

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.

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. 

  • 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

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?

9 hours ago, AlexWebsites said:

See: 

 

Can custom task methods be added?

1 hour ago, sobrenome said:

Can custom task methods be added?

Yes! 

 

  • 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.

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. 🙂

  • Author

Thats what I thought.....

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?

Recently Browsing 0

  • No registered users viewing this page.