Dive into web scraping and build a Next.js 13 eCommerce price tracker within a single video that teaches you data scraping, cron jobs, sending emails, deployment, and more.
15:38:35.970 | Error: Builder returned invalid maxDuration value for Serverless Function "api/cron". Serverless Functions must have a maxDuration between 1 and 10 for plan hobby. : https://vercel.com/docs/concepts/limits/overview#serverless-function-execution-timeout
the code is: export const maxDuration = 300; // This function can run for a maximum of 300 seconds
but when it sets to 10, and setup cron-job it shows timeout error