Suppose I started a one-time process with this command: heroku run:detached "node do-some-stuff.js" --app my-app
The output of the command is:
/usr/local/heroku/lib/heroku/jsplugin.rb:108: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 Running `node do-some-stuff.js` detached... up, run.3728 Use `heroku logs -p run.3728 -a my-app` to view the output.
I can heroku logs -p run.3728 -a my-app
while the process is running, however, when the process exited it, it does not output anything. How to view logs for a completed process?
source share