-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (66 loc) · 2.88 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CronCompose - Cron Job Creator</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="container">
<h1>CronCompose</h1>
<p>Create and validate cron job schedules with ease.</p>
<form id="cronForm">
<div class="form-group">
<label for="minute">Minute (0-59):
<span class="info" data-tooltip="Specify the minute of the hour to run. Use * for any minute.">?</span>
</label>
<input type="text" id="minute" placeholder="*" maxlength="2">
</div>
<div class="form-group">
<label for="hour">Hour (0-23):
<span class="info" data-tooltip="Specify the hour of the day to run. Use * for any hour.">?</span>
</label>
<input type="text" id="hour" placeholder="0" maxlength="2">
</div>
<div class="form-group">
<label for="dayOfMonth">Day of Month (1-31):
<span class="info" data-tooltip="Specify the day of the month to run. Use * for any day.">?</span>
</label>
<input type="text" id="dayOfMonth" placeholder="*" maxlength="2">
</div>
<div class="form-group">
<label for="month">Month (1-12):
<span class="info" data-tooltip="Specify the month of the year to run. Use * for any month.">?</span>
</label>
<input type="text" id="month" placeholder="*" maxlength="2">
</div>
<div class="form-group">
<label for="dayOfWeek">Day of Week (0-7, 0 and 7 are Sunday):
<span class="info" data-tooltip="Specify the day of the week to run. Use * for any day.">?</span>
</label>
<input type="text" id="dayOfWeek" placeholder="*" maxlength="1">
</div>
<div class="form-group">
<label for="command">Command:</label>
<input type="text" id="command" placeholder="Enter the command" value='echo "Hello, World!"' required>
</div>
<div class="form-group checkbox-group">
<label>
<input type="checkbox" id="redirectOutput">
Redirect output to /dev/null
</label>
<label>
<input type="checkbox" id="suppressErrors">
Suppress errors (redirect to /dev/null)
</label>
</div>
</form>
<div id="output">
<h2>Your Cron Entry:</h2>
<pre id="cronOutput"></pre>
</div>
</div>
<script src="assets/js/script.js"></script>
</body>
</html>