Background Task with autokilling itself and repeated action each N minutes

In this particular case there are two timeouts

  1. Is the data ready to be processed? timeout for this would be N minutes from OP’s description
  2. Is the data processing (* a job writes data to the database*) taking too long? this would be a different timeout.

So, based on what is desired this could be handled even with a single process

1 Like