Learn AP Comp Sci

Cron / Scheduled Tasks

The multiple-choice problems on this website are posted on a regular basis. One of the easiest ways to see each day's problem is to create an event on your computer to launch the problem webpage at a pre-scheduled time.

cron on the Mac

The Terminal in macOS supports opening a webpage with the open command:

% open https://learnapcompsci.com/problem.php

You can used the cron scheduler (or launchd if you want to work a little more) to automatically open the problem page at, say, 8 AM each weekday morning.

cron on Linux (Ubuntu)

Ubuntu supports opening a webpage with the xdg-open command:

$ xdg-open https://learnapcompsci.com/problem.php

You can then use the cron scheduler to automatically open the problem page.

Scheduled Tasks on Windows

Windows supports scheduling a variety of tasks using the Task Scheduler feature.

See this article for instructions.