MCPcopy
hub / github.com/alseambusher/crontab-ui / runJob

Function runJob

public/js/script.js:75–81  ·  view source on GitHub ↗
(_id)

Source from the content-addressed store, hash-verified

73}
74
75function runJob(_id) {
76 messageBox('<p> Do you want to run this Job? </p>', 'Confirm run job', null, null, function() {
77 $.post(routes.run, {_id: _id}, function() {
78 location.reload();
79 });
80 });
81}
82
83function setCrontab() {
84 messageBox('<p> Do you want to set the crontab file? </p>', 'Confirm crontab setup', null, null, function() {

Callers

nothing calls this directly

Calls 1

messageBoxFunction · 0.85

Tested by

no test coverage detected