Files
Siro/backend/pricing-engine/ecosystem.config.js
T
2026-07-06 17:08:21 +03:00

35 lines
880 B
JavaScript

module.exports = {
apps: [
{
name: "siro-pricing-surge",
script: "dist/index.js",
args: "--mode=surge --hours=3",
instances: 1,
exec_mode: "fork",
cron_restart: "0 * * * *", // كل ساعة على رأس الساعة
autorestart: false,
watch: false
},
{
name: "siro-pricing-full",
script: "dist/index.js",
args: "--mode=full --hours=72",
instances: 1,
exec_mode: "fork",
cron_restart: "0 6 * * *", // كل يوم الساعة 6 صباحاً
autorestart: false,
watch: false
},
{
name: "siro-pricing-report",
script: "dist/index.js",
args: "--mode=report",
instances: 1,
exec_mode: "fork",
cron_restart: "0 8 * * 0", // كل يوم أحد الساعة 8 صباحاً
autorestart: false,
watch: false
}
]
};