Run firefox from cron

Hello,

I’m using firefox-dev under debian linux and since last updates my cron script that was supposed to open a certain url in firefox at a regular schedule stopped working.

I do export DISPLAY=:0 than run firefox $url and all was fine previously but now I always received a message : “Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.”

You can easily reproduce by running : sudo -u $(whoami) /path/to/firefox-dev/firefox https://www.google.com

Can somebody explain what is checked by firefox and why it consider it is not responding instead of just open my url in a new tab ?

Hi,

This forum is not the right place to ask troubleshooting question. If you have a problem with Firefox that you need help with, please ask your question on the Firefox support forum https://support.mozilla.org/questions/new instead. You can also see Get community support for other support resources - https://support.mozilla.org/en-US/kb/get-community-support .

1 Like