Questions about the timeline of php implementation process platform

goal: achieve the timeline of the process platform through php

for example, a process platform needs to be designed, and the complete process needs to be realized through steps such as A-> B-> C-> D-> E, and there are multiple job in the whole process platform.

requirements: for the C status of each process, each job (for example, there are five job in a process) needs to wait for half an hour (the longest timeout is 30min) before entering D state (judged by the completion status of job, if job succeeds, D state is entered; if it fails, a C1 state is created for manual completion of C1).
that is to say, the time-consuming of the whole process is very long because there is timeout in C state. How to design this kind of process platform? Thank you in advance!

Feb.28,2021

Thank you for the invitation. According to the subject's description, it should be a task that wants to implement a timer, not a timeline problem. My idea is like this: first of all, the maximum time for JOB to execute the program should be longer than 30 minutes and 30 minutes after the execution is completed, the state of the JOB itself should be judged. There is relevant code on the Internet (including script 51, so I won't talk about it anymore). The second is that you need to write a php file that you can run in cli mode, use "php XXX.php start-d" and then check whether your running JOB is complete every two minutes, to determine whether to move on to the next state, or to remind you to create C1 tasks manually.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9465f-472ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9465f-472ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?