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:
@@ -63,7 +63,7 @@ function editJob(_id){
|
||||
if(job){
|
||||
$("#job").modal("show");
|
||||
$("#job-name").val(job.name);
|
||||
$("#job-command").val(job.command.replace("\"","\\\""));
|
||||
$("#job-command").val(job.command);
|
||||
// if macro not used
|
||||
if(job.schedule.indexOf("@") != 0){
|
||||
var components = job.schedule.split(" ");
|
||||
|
||||
Reference in New Issue
Block a user