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

Function stopJob

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

Source from the content-addressed store, hash-verified

57}
58
59function stopJob(_id) {
60 messageBox('<p> Do you want to stop this Job? </p>', 'Confirm stop job', null, null, function() {
61 $.post(routes.stop, {_id: _id}, function() {
62 location.reload();
63 });
64 });
65}
66
67function startJob(_id) {
68 messageBox('<p> Do you want to start this Job? </p>', 'Confirm start job', null, null, function() {

Callers

nothing calls this directly

Calls 1

messageBoxFunction · 0.85

Tested by

no test coverage detected