Jump to content

Background processes following upgrade


marklcfc

Recommended Posts

I've ran a test upgrade so can see how long this is expected to take and after 12 hours this is where it's at - I wasn't expecting posts to be so low at 0.17%. At that rate it's going to take at least two months.

I was also expecting to see that screen to run via cron but it never appeared in the upgrade - is that for something else?

processes.png

Link to comment
Share on other sites

What you see in the ACP is the overall progress, but it does not, in itself, run as a cron job.

Background tasks are triggered by people who are logged in and browsing around.

If you do not have regular enough traffic, then using a cron job will speed up the process (as much as possible without creating server resource issues).

Enter the word 'cron', without quotes, in the ACP live search and choose "Task Method" from the result list. Choose the cron option and you'll be shown the string to enter on the server.

 

Link to comment
Share on other sites

So will this never get complete unless I run the cron option? Posts are 0.24% complete after 24 hours. I have only ran on a test forum though so no one is actually viewing topics, but those I have personally viewed during the day don't even look updated. (quotes are not displaying right)

Link to comment
Share on other sites

Here's how i set CRON up:-

Login to the Admin panel then hover over SYSTEM and then click on Advanced Configurations.

On the First TAB "Server Environment" click on USE CRON and copy the text you see in the box below but you need to remove /opt/alt/php56/  and start with USR

For example from :- /opt/alt/php56/usr/bin/php -d memory_limit=-1 -d max_ex...................

For example to :- usr/bin/php -d memory_limit=-1 -d max_ex...................

You can also add this to the end which will stop your email getting flooding with reports "/dev/null 2>&1"

Screenshot at Jul 08 09-11-19.png

Now open you hosting Cpanel and find CRON:-

Screenshot at Jul 08 10-56-41.png

When you open CRON you will need to select "Once Per Minute and paste the text into the bottom command box and then click on add new cron job.

 Screenshot at Jul 08 10-58-15.png

You can also add this to the end which will stop your email getting flooding with reports "/dev/null 2>&1"

You should be able to see the CRON JOB listed and all set up:-

Make sure you have a dot selected under Minutes, hours, days, month,weekday

Screenshot at Jul 08 10-59-22.png

.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...