Can I have a cron job while using setup config?

I had a cron job but after switching to setup config it won’t run, not even config generation step. I think there is a chicken and an egg problem. To schedule cron run CircleCI has to generate config that contains the schedule. Is it so or I messed up something? Can I work around it by adding cron job to the setup config?

Here’s config

I had to use setup init because top level parameters don’t accept env_var_name type

Adding cron into setup config makes CircleCI not run at all. It probably crushes before it can report anything. Given that the project page become unavailable after I pushed the update… Could be a coincidence or a very bad sign :thinking:

It’s a known problem for a few months. Setup workflow and scheduled workflow in the same configuration

1 Like