You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
Add textarea for environment variables
This commit is contained in:
@@ -46,7 +46,7 @@ function startJob(_id){
|
||||
|
||||
function setCrontab(){
|
||||
messageBox("<p> Do you want to set the crontab file? </p>", "Confirm crontab setup", null, null, function(){
|
||||
$.get(routes.crontab, {}, function(){
|
||||
$.get(routes.crontab, { "env_vars": $("#env_vars").val() }, function(){
|
||||
// TODO show only if success
|
||||
infoMessageBox("Successfuly set crontab file!","Information");
|
||||
});
|
||||
@@ -155,4 +155,3 @@ function set_schedule(){
|
||||
job_string();
|
||||
}
|
||||
// popup management ends
|
||||
|
||||
|
||||
Reference in New Issue
Block a user