You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
new:dev:support run the jobs manually
This commit is contained in:
@@ -55,6 +55,15 @@ function startJob(_id){
|
||||
});
|
||||
}
|
||||
|
||||
function runJob(_id){
|
||||
messageBox("<p> Do you want to run this Job? </p>", "Confirm run job", null, null, function(){
|
||||
$.post(routes.run, {_id: _id}, function(){
|
||||
location.reload();
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function setCrontab(){
|
||||
messageBox("<p> Do you want to set the crontab file? </p>", "Confirm crontab setup", null, null, function(){
|
||||
$.get(routes.crontab, { "env_vars": $("#env_vars").val() }, function(){
|
||||
|
||||
Reference in New Issue
Block a user