Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
import type { LegacyMisfirePolicy } from './types.js';
export type ShouldRunMissedScheduleInput = {
enabled: boolean;
misfirePolicy: LegacyMisfirePolicy;
nextRunAt: string;
now: string;
};
export function shouldRunMissedSchedule(input: ShouldRunMissedScheduleInput): boolean {
if (!input.enabled) return false;
if (new Date(input.nextRunAt).getTime() > new Date(input.now).getTime()) return false;
return false;
}