Skip job execution if app is disabled

Some tasks are scheduled to be executed later. We don't need them when the app is disabled.