add myhidden.life scheduler
This commit is contained in:
parent
45f1713443
commit
3c7a9b3eae
1 changed files with 9 additions and 0 deletions
|
|
@ -32,4 +32,13 @@
|
||||||
phpPackage = pkgs.php82.withExtensions ({ enabled, all }:
|
phpPackage = pkgs.php82.withExtensions ({ enabled, all }:
|
||||||
enabled ++ [ all.imagick ]);
|
enabled ++ [ all.imagick ]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services."stage-myhidden-life-schedule" = {
|
||||||
|
startAt = "*:0/1:0";
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
User = "stage_myhidden_life";
|
||||||
|
ExecStart = "${pkgs.php83}/bin/php /var/www/stage.myhidden.life/artisan schedule:run";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue