MyBB Community Forums
[Pushed] Task Manager does not work - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Pushed (https://community.mybb.com/forum-183.html)
+----- Thread: [Pushed] Task Manager does not work (/thread-172605.html)

Pages: 1 2


Task Manager does not work - musicfan - 2015-07-01

Do someone know why Task Manager not working after update from 1.6 to 1.8.5? 
i have file task.php in FTP, my task_image
<img src="{$mybb->settings['bburl']}/task.php" width="1" height="1" alt="" />

and footer
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->

I no have automat backup, mass mail, removes ban

please help!
my forum: http://handsupowo.pl


RE: Task Manager does not work - Destroy666 - 2015-07-07

Do tasks work if you run them manually in ACP? Show a screen of ACP -> Tools & Maintenance -> Task Manager (both Scheduled Tasks and Taks Logs tabs)


RE: Task Manager does not work - musicfan - 2015-07-08

manually is working


here screens


RE: Task Manager does not work - Destroy666 - 2015-07-08

Looks like there are 2 broken tasks without a file (RSS Feed Poster), try deleting them.

PS. ja też Polak.


RE: Task Manager does not work - musicfan - 2015-07-08

I deleted RSS Feed Poster and working,
thanks for help

P.S. miło poznać rodaka


RE: Task Manager does not work - Destroy666 - 2015-07-08

It looks like a bug then, one wrong task shouldn't stop the rest, I guess? Moving to Bug Reports for further chekcing.


RE: Task Manager does not work - Jones H - 2015-07-08

Only one task is run per page: https://github.com/mybb/mybb/blob/feature/inc/functions_task.php#L31

A few lines later an error is thrown if the file does not exist. However when the page is accessed the next time the same task is fetched, the same error is thrown and we're done again. Probably auto disabling the task would help but that could cause issues if a new task is added and the page is accessed before the file is uploaded (plugins could cause this).


RE: Task Manager does not work - Euan T - 2015-07-08

Yeah, we should probably disable the task and send a warning mail to the administrator or something. Most people rarely check the task logs unless they notice a problem.


RE: Task Manager does not work - Destroy666 - 2015-07-08

(2015-07-08, 11:11 AM)Euan T Wrote: Yeah, we should probably disable the task and send a warning mail to the administrator or something.

This should be the best solution indeed.


RE: Task Manager does not work - Jones H - 2015-07-08

Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2147

Thanks for contributing to MyBB!

Regards,
The MyBB Group