Using N/task to schedule a onetime run of a schedu...
# suitescript
d
Using N/task to schedule a onetime run of a scheduled script if it fails, how do I clear it from the queue? I tried issuing a new task and get this error:
Failed to submit job request: INQUEUE
logs show this error
Copy code
{
  "type": "internal error",
  "code": "FAILED_TO_SUBMIT_JOB_REQUEST_1",
  "details": "Failed to submit job request: INPROGRESS.",
  "userEvent": null,
  "stackTrace": [
    "Error\n at Array.map (native)"
  ],
  "notifyOff": false
}
n
@Daniel Eliassen Did you check the scheduled script has failed before submitting a new one? I ask because, and I'm not 100% sure, but it looks like you already have the script running if it's "INPROGRESS"
d
I deleleted the deployment and now do not initaite anotherone before the first has run.