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

Function getCrontab

public/js/script.js:94–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94function getCrontab() {
95 messageBox(
96 '<p> Do you want to get the crontab file? <br /> A backup will be created automatically before importing.</p>',
97 'Confirm crontab retrieval', null, null, function() {
98 $.get(routes.import_crontab, { 'env_vars': $('#env_vars').val() }, function() {
99 infoMessageBox('Successfully got the crontab file!', 'Information');
100 location.reload();
101 });
102 });
103}
104
105function editJob(_id) {
106 var job = null;

Callers

nothing calls this directly

Calls 3

messageBoxFunction · 0.85
infoMessageBoxFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected