You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
cleanup
This commit is contained in:
@@ -11,9 +11,8 @@ exports.crontabs = function(db_name, callback){
|
||||
db.find({}).sort({ created: -1 }).exec(function(err, docs){
|
||||
callback(docs);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
exports.delete = function(db_name){
|
||||
fs.unlink(__dirname + '/crontabs/' + db_name);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user