diff options
Diffstat (limited to 'course/projects/daily-digest.json')
| -rw-r--r-- | course/projects/daily-digest.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/course/projects/daily-digest.json b/course/projects/daily-digest.json new file mode 100644 index 0000000..e78ad46 --- /dev/null +++ b/course/projects/daily-digest.json @@ -0,0 +1,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" + } + } + ] +}
\ No newline at end of file |