# announcements
Copy code
TypeError: my_schedule() takes 0 positional arguments but 1 was given\n
This is saying that your schedule needs to take in a single argument, like the example here; https://docs.dagster.io/overview/scheduling-partitions/schedules#cronstring-based-interval We should be able to detect that at definition time though I think so that you know the problem sooner - that's something we should improve in the system