Does not create cron events for unknown schedules

For issue #484
Tests schedules to see if they are known before creating cron events.

Without this new test, cron events were being created for schedules inserted
by third-party plugins.