This project sets up a Node.js service that uses Playwright to open Google.com at specific times of the day. The service runs on Ubuntu and is managed by Systemd.
- [x] Install Playwright
- [x] Write a Playwright script to open Google.com
- [x] Create a Systemd service for the script
- [x] Configure the service to auto-start daily at 9 am and 6 pm
- [x] Create a
setup.sh
script for installation - [x] Create an uninstallation script
- Create the
open-google.js
script with the provided code. - Run the
setup.sh
script to install Playwright, create the Systemd service and timer files, and enable and start the service. - To uninstall, run the uninstallation script.
The service will automatically start at the specified times (9 am and 6 pm daily). You can check the service status with:
sudo systemctl status autokeka.service