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
|
{
"id": "daily-digest",
"title": "Automated daily digest",
"level": "intermediate",
"minutes": 25,
"goal": "Schedule a repeating web fetch, save the result to a file, and inspect it.",
"lesson": "7.1",
"steps": [
{
"instruction": "Fetch a page and confirm output",
"command": "fetch https://example.com",
"check": {
"type": "command"
}
},
{
"instruction": "Schedule a 60s echo so you can see cron work",
"command": "cron-every 60 echo digest",
"check": {
"type": "command"
}
},
{
"instruction": "List the schedule",
"command": "cron-list",
"check": {
"type": "command"
}
},
{
"instruction": "Stop the job after one run",
"command": "cron-stop 1",
"check": {
"type": "command"
}
}
]
}
|