You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
This commit is contained in:
10
app.js
10
app.js
@@ -187,6 +187,16 @@ app.use(function(err, req, res, next) {
|
||||
res.status(statusCode).json(data);
|
||||
});
|
||||
|
||||
process.on('SIGINT', function() {
|
||||
console.log("Exiting crontab-ui");
|
||||
process.exit();
|
||||
})
|
||||
|
||||
process.on('SIGTERM', function() {
|
||||
console.log("Exiting crontab-ui");
|
||||
process.exit();
|
||||
})
|
||||
|
||||
app.listen(app.get('port'), app.get('host'), function() {
|
||||
console.log("Node version:", process.versions.node);
|
||||
fs.access(__dirname + "/crontabs/", fs.W_OK, function(err) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "crontab-ui",
|
||||
"version": "0.2.7",
|
||||
"version": "0.2.8",
|
||||
"description": "Easy and safe way to manage your crontab file",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user