-
run script in background like pm2
Hi,
How I can set a script as service to run forever like pm2.
REgards,
-
Here you go: https://www.lianja.com/doc/index.php/Background_Tasks
You may find that on Windows you need to set the Scheduled Task to "Run As Administrator". Security is a good thing.
Hank
Last edited by HankFay; 2022-10-27 at 16:46.
-
I use Linux and I need run the script per tenant.
-
So each tenant would have their own instance of the app and their own copy of the database, right? And so the folder where the prg for the script is located would have its own path, right?
And so they would each have their own chron task set to run the pathed script prg, running against their the tenant-identified database.
Am I missing anything?
Hank
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks