When does a scheduled job status will be set as Completed

the job ran 13 hours ago but still status is not Completed. the job involved modifying 2000+ records.

  1. how can we how that the job is still running or not.
  2. when does the job status is changed to Complete

in RQ Job it says job is failed.so how can i now how the job is failed? i wrote logs for. so thats one way and is there any other way to find the error

If jobs fails it creates Error Log.

Go to Error Log you will find error

there is no record in Error Log, i tried searching using reference doctype.
but in RQ Job, it shows the job has failed reason is “Work-horse terminated unexpectedly; waitpid returned None;”

what does work-horse terminated means?

I think the job used too much RAM and the OS killed the worker.