How should i set up a service so that it runs on the configured cron schedule. and when process ends running the service remains offline/deactivated until next cron schedule cycle?