From af34113eaf35fda78d4b7d11707db9b3534f704e Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Tue, 14 Feb 2023 18:45:23 +0100 Subject: [PATCH] mention pm2 for restarting --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b17fdf5..b3da0ed 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,7 @@ If you want it to run regularly, you have to schedule the runs yourself: - Linux/macOS: `crontab -e` ([example](https://github.com/vogler/free-games-claimer/discussions/56)) - macOS: [launchd](https://stackoverflow.com/questions/132955/how-do-i-set-a-task-to-run-every-so-often) - Windows: [task scheduler](https://active-directory-wp.com/docs/Usage/How_to_add_a_cron_job_on_Windows/Scheduled_tasks_and_cron_jobs_on_Windows/index.html), [other options](https://stackoverflow.com/questions/132971/what-is-the-windows-version-of-cron) +- any OS: use a process manager like [pm2](https://pm2.keymetrics.io/docs/usage/restart-strategies/) TODO: ~~add some server-mode where the script just keeps running and claims games e.g. every day.~~