You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
1. fixed commands with quotes bug
2. Changed Startup macro from @startup to @reboot
This commit is contained in:
@@ -71,5 +71,9 @@ exports.backup = function(){
|
||||
|
||||
exports.restore = function(db_name){
|
||||
fs.createReadStream( __dirname + '/crontabs/' + db_name).pipe(fs.createWriteStream( __dirname + '/crontabs/crontab.db'));
|
||||
db.loadDatabase();
|
||||
db.loadDatabase(); // reload the database
|
||||
}
|
||||
|
||||
exports.import = function(){
|
||||
//TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user