If I use an ad-hoc task it results in a 500 error on completion if no site context has been specified.
The site context needs to be specified in the scheduled task configuration.
It would be good if it would automatically fall back to the default site. or if the context is automatically set to default. The error is otherwise tough to debug.