The cron expression for every sunday
To run a job every sunday, use 0 0 * * 0. Read aloud it means: At 00:00 on Sunday.
Field by field: minute 0 — minute 0; hour 0 — hour 0; day of month * — every day-of-month; month * — every month; day of week 0 — Sunday.
Drop the expression into a crontab, a CI schedule, or anything else that speaks standard five-field cron syntax. The times above are in your local timezone — most cron daemons run in the server's timezone, so mind the difference when it matters.