Suresh Alse 2017-02-27 10:39:54 -08:00
parent 2b87cb34ea
commit 4f398bdb01
2 changed files with 3 additions and 3 deletions

4
app.js
View File

@ -204,8 +204,8 @@ app.listen(app.get('port'), function() {
} }
if (process.argv.includes("--reset")){ if (process.argv.includes("--reset")){
console.log("Resetting crontab-ui"); console.log("Resetting crontab-ui");
let crontabdb = __dirname + "/crontabs/crontab.db"; var crontabdb = __dirname + "/crontabs/crontab.db";
let envdb = __dirname + "/crontabs/env.db"; var envdb = __dirname + "/crontabs/env.db";
console.log("Deleting " + crontabdb); console.log("Deleting " + crontabdb);
try{ try{

View File

@ -1,6 +1,6 @@
{ {
"name": "crontab-ui", "name": "crontab-ui",
"version": "0.2.5", "version": "0.2.6",
"description": "Easy and safe way to manage your crontab file", "description": "Easy and safe way to manage your crontab file",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {