I think it might be better to just go straight to the daemon version of the job. If something goes wrong with the initial call of the one-shot mode of the script, then the daemon will never start even if it was a transient error.

By going straight to the daemon mode, even if a transient error stops the first attempt at setting up the accounts, it will automatically retry in one minute and may be able to recover.