await Deno.cron("send-name-day", "0 5 * * *", () => { const nameDays = [ ... ]; const date = new Date(); const month = date.getMonth() + 1; const day = date.getDate(); const nameDay = nameDays[month - 1][day - 1]; const path = `https://api.telegram.org/bot${Deno.env.get("TOKEN")}/sendMessage`; const resp = fetch(path, { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ chat_id: XXXXXXXXXX, text: `${day}/${month}: ${nameDay}`, }), }); console.log(resp.json());});