move scheduled up to top lvl, it could theorically run as a service or daemon and isn't really bound to web either.