Toolverse
All skills

convex-cron-jobs

by waynesutton

Scheduled function patterns for background tasks including interval scheduling, cron expressions, job monitoring, retry strategies, and best practices for long-running tasks

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Security

About this skill

Scheduled function patterns for background tasks including interval scheduling, cron expressions, job monitoring, retry strategies, and best practices for long-running tasks

How to use

  1. Utwórz plik convex/crons.ts w swoim projekcie Convex. Zaimportuj cronJobs z "convex/server" oraz internal z "./_generated/api".

  2. Zadeklaruj instancję cron-ów: const crons = cronJobs(); — będzie ona przechowywać wszystkie zaplanowane zadania.

  3. Dodaj zadania interwałowe dla prostych powtórzeń. Użyj crons.interval(nazwa, {minutes: N}, funkcja, {}) aby uruchomić funkcję co N minut. Na przykład {hours: 1} uruchomi zadanie co godzinę, a {minutes: 5} co 5 minut.

  4. Dla bardziej złożonych harmonogramów użyj crons.cron(nazwa, wyrażenie, funkcja, {}) z wyrażeniem cron (np. "0 0 * * *" dla północy UTC każdego dnia). Trzeci parametr to funkcja wewnętrzna z internal.ścieżka.doFunkcji.

  5. Eksportuj konfigurację: export default crons; — Convex automatycznie ją zarejestruje.

  6. Monitoruj wykonanie zadań w dashboard Convex — zobaczysz historię uruchomień, błędy i automatyczne ponowne próby.

Related skills

solidity-security

by wshobson

Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditing existing contracts, or implementing security measures for blockchain applications.

Security
10105

zendesk

by vm0-ai

Zendesk Support REST API for managing tickets, users, organizations, and support operations. Use this skill to create tickets, manage users, search, and automate customer support workflows.

Security
11100

backend-security-coder

by sickn33

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

Security
1133

youtube-watcher

by openclaw

Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.

Security
2231

reverse-engineering-tools

by gmh5225

Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.

Security
3168

google-analytics

by davila7

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

Security
1260