1. fixed commands with quotes bug

2. Changed Startup macro from @startup to @reboot
This commit is contained in:
Suresh Alse
2015-06-13 22:10:37 +05:30
parent 848bf44f3a
commit 41ca8a72c7
6 changed files with 11 additions and 7 deletions

View File

@@ -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
}