文件操作 - schedule.d.mts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@netlify/functions/dist/lib/schedule.d.mts
编辑文件内容
import { Handler } from '../function/handler.mjs'; import '../function/handler_context.mjs'; import '../function/handler_event.mjs'; import '../function/handler_response.mjs'; import 'node:stream'; /** * Declares a function to run on a cron schedule. * Not reachable via HTTP. * * @example * ``` * export const handler = cron("5 4 * * *", async () => { * // ... * }) * ``` * * @param schedule expressed as cron string. * @param handler * @see https://ntl.fyi/sched-func */ declare const schedule: (cron: string, handler: Handler) => Handler; export { schedule };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件