MISP / MISP

MISP (core software) - Open Source Threat Intelligence and Sharing Platform

Home Page:https://www.misp-project.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Scheduled Tasks not working

T1000-Cyberd opened this issue · comments

Actual behavior

Scheduled Tasks are not working as scheduled. I am scheduling feed fetch but they are not happening anymore.

Expected behavior

Before the last update it was working.

Steps to reproduce

Before the last update it was working.

Version

v2.4.193

Operating System

Ubuntu

Operating System version

20.04

PHP version

7.4

Browser

All

Browser version

No response

Relevant log output

No response

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Did you check your workers? Worker type: scheduler is very gentle in nature and easily gets upset ;-)

You're much better off using cron jobs and console tasks (go to event actions -> automation and scroll down to get a description of how they work). You'll get way more control over the executions as well as better oversight over what is scheduled and when it is to be executed.

I would rephrase what @elvidence said so diplomatically by saying that the scheduler worker / scheduled jobs are hot garbage and I feel shame each time I am reminded of them...

@elvidence All workers are green. I rolled back one version from the backup and scheduler is working, at least on fetching feed data. @iglocska Will take a look at cron jobs, and how to schedule from there. Well hope they fix it on the next version, i also had problems fetching some feeds after the update, when i rolled back it works.