You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
store mail options in db
This commit is contained in:
2
app.js
2
app.js
@@ -57,7 +57,7 @@ If it is a new job @param _id is set to -1
|
||||
app.post(routes.save, function(req, res) {
|
||||
// new job
|
||||
if(req.body._id == -1){
|
||||
crontab.create_new(req.body.name, req.body.command, req.body.schedule, req.body.logging);
|
||||
crontab.create_new(req.body.name, req.body.command, req.body.schedule, req.body.logging, req.body.mailing);
|
||||
}
|
||||
// edit job
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user