You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote my first go-rod program using Chromium that works fine. I then wanted to run it nightly and this is when the trouble started as we can’t launch chromium from a cron job due to systemd cgroup sandboxing when chromium is a snap for instance as it is on Ubuntu.
After some research and testing I found the solution. You may want to post a reference to it in your FAQ in case someone experience the same problem as me.
I also did something similar, but the approach is different. I use the golang cron job library and docker, if you use docker restart=always it will survive after system reboot.
Rod Version: v0.116.0
I wrote my first go-rod program using Chromium that works fine. I then wanted to run it nightly and this is when the trouble started as we can’t launch chromium from a cron job due to systemd cgroup sandboxing when chromium is a snap for instance as it is on Ubuntu.
After some research and testing I found the solution. You may want to post a reference to it in your FAQ in case someone experience the same problem as me.
Here is the link to the askubuntu question.
The text was updated successfully, but these errors were encountered: