Fixed cronjobs executing during offline mode