Λογότυπο Batch Job Scheduling And Monitoring

Batch Job Scheduling And Monitoring

Κοινότητα
PranavNagrecha
batch-job-scheduling-and-monitoring

Χρησιμοποιήστε την για την παρακολούθηση, τη διάγνωση ή τη διαχείριση προγραμματισμένων εργασιών Batch Apex, Scheduled Apex, Queueable και Flow: Setup > Apex Jobs, ερωτήματα AsyncApexJob, όρια ταυτόχρονων εργασιών, εντοπισμός αποτυχιών και μοτίβα ειδοποιήσεων. ΔΕΝ αφορά τη σύνταξη της ίδιας της κλάσης Batch ή Schedulable — χρησιμοποιήστε το apex/batch-apex-patterns ή το apex/apex-scheduled-jobs. ΔΕΝ αφορά ειδοποιήσεις BatchApexErrorEvent στον κώδικα — χρησιμοποιήστε το apex/scheduled-apex-failure-detection-and-monitoring. Λέξεις-κλειδιά ενεργοποίησης: Setup > Scheduled Jobs, Apex Flex Queue, CronTrigger, CronJobDetail, FlowInterview, System.abortJob, System.schedule, έκφραση CRON, κατάσταση Holding, κατάσταση BLOCKED, επαναπρογραμματισμός μετά από ανανέωση sandbox, runbook προγραμματισμένων εργασιών.

Add to TypingMind

Επισκόπηση

ΕκδότηςPranavNagrecha
ΑποθετήριοAwesomeSalesforceSkills
Όνομα δεξιότηταςbatch-job-scheduling-and-monitoring
Αστέρια
26
Διακλαδώσεις
5
Συνοδευτικά αρχεία
7
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 7

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό PranavNagrecha. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Batch Job Scheduling And Monitoring στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/batch-job-scheduling-and-monitoring
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/batch-job-scheduling-and-monitoring .claude/skills/batch-job-scheduling-and-monitoring
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Batch Job Scheduling And Monitoring σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Batch Job Scheduling And Monitoring μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Batch Job Scheduling And Monitoring δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Batch Job Scheduling And Monitoring

This skill activates when a Salesforce admin, developer, or operator needs to monitor, diagnose, or manage async job execution in an org. It covers the Setup > Apex Jobs and Scheduled Jobs views, direct SOQL queries against AsyncApexJob, concurrent job limits, failure notification patterns, and the difference between how Batch Apex and Flow scheduled jobs surface in monitoring.


Before Starting

Gather this context before working on anything in this domain:

  • Identify the job type. AsyncApexJob.JobType is a restricted picklist: ApexToken, BatchApex, BatchApexWorker, Future, Queueable, ScheduledApex, SharingRecalculation, TestRequest, TestWorker (Object Reference, AsyncApexJob → JobType). There is no ScheduledFlow value on AsyncApexJob — a scheduled Flow surfaces on CronJobDetail as JobType = '6' instead.
  • Determine whether the issue is a job that is stuck/running, a job that failed silently, or a job that never fired. The third is the hardest, because a job that never fired leaves no AsyncApexJob row at all — only CronTrigger can prove the absence.
  • Note the org's concurrent Batch Apex limit: 5 jobs queued or active concurrently, with up to 100 more held in the Apex flex queue in Holding status (App Limits cheat sheet L316–319). This is the most common cause of jobs staying in "Queued" status without progressing.
  • Confirm the person running the diagnosis can actually read the data. AsyncApexJob requires View Setup and Configuration when Apex is not running in system mode (Object Reference, AsyncApexJob → Special Access Rules).

Questions to Ask Before Configuring

Ask these before scheduling anything or before declaring a job "fine"; the answers decide the runbook, and an agent that skips them ships a schedule that survives exactly until the next deploy.

AskWhy it mattersWhat a good answer adds
"Who gets paged when this job fails, and is that a mailbox we control?"The platform emails full error detail to the last user who modified the batch class, not to an ops rota (gotcha 5)A named owner and an alert channel, recorded in the scheduling registry
"How long does this job take today, and what is the interval between runs?"Runtime creeping past the interval puts the CronTrigger in BLOCKED and the window is silently missed (gotcha 7)A max_runtime_minutes and a runtime window per job
"Which time zone is the schedule anchored to — the scheduling user's or the org's?"System.schedule() uses the running user's timezone; a scheduled Flow's startTime uses the org default (gotcha 8)The intended wall-clock time, and a CronTrigger.TimeZoneSidKey check after scheduling
"How does this schedule get rebuilt in a refreshed sandbox or a new org?"Schedules are org data — a refresh copies none of them, and no deploy carries them (gotcha 10)A registry entry with the exact CRON expression, and a reschedule step in the refresh runbook
"Does anything else depend on this job finishing first?"Cron expressions only imply ordering; two jobs 45 minutes apart are not a dependencyA depends_on value and a real decision about whether to chain instead
"When we next deploy this class, who aborts and re-creates the schedule?"A live schedule blocks the deploy of its own class and everything that class references (gotcha 6)A named abort → deploy → reschedule sequence, not a production surprise
"Are we filtering on Status = 'Failed'?"Completed covers "completed with failures"; Failed means a system-level failure only (gotcha 9)A failure predicate of Status = 'Failed' OR NumberOfErrors > 0

What a proper configuration adds over just scheduling it: the job can be rebuilt from source after a refresh, the person who has to fix it finds out before the business does, and the deploy that changes the class does not fail on the schedule the deploy itself cannot see.


Core Concepts

Apex Jobs UI vs Scheduled Jobs UI

Salesforce provides two distinct monitoring views:

  1. Setup > Apex Jobs — shows AsyncApexJob records for Batch Apex, Queueable, @future, and Scheduled Apex invocations. Displays status, number of records processed, errors, and completion time.
  2. Setup > Scheduled Jobs — shows Scheduled Apex definitions (the cron-based schedule) and their next fire time. Also shows Schedule-Triggered Flow Interviews. This view does NOT show the individual Batch Apex executions triggered by a scheduled job — those appear in Apex Jobs.

Flow scheduled jobs (Schedule-Triggered Flow) appear only in Setup > Scheduled Jobs as "Schedule-Triggered Flow Interview". They do NOT appear in Apex Jobs.

AsyncApexJob as the Query Surface

All Apex async jobs are queryable via SOQL against AsyncApexJob. This is the programmatic equivalent of the Apex Jobs UI and is the only way to retrieve historical job data programmatically.

Key fields (Object Reference, AsyncApexJob → Fields):

  • Status — Aborted, Completed, Failed, Holding, Preparing, Processing, Queued. Holding applies only to batch jobs in the Apex flex queue.
  • JobType — restricted picklist; the ones you monitor are BatchApex, BatchApexWorker, Future, Queueable, ScheduledApex.
  • NumberOfErrors — "Total number of batches with a failure. A batch is considered transactional." Label is Failures.
  • TotalJobItems / JobItemsProcessed — batches in the job and batches done so far. Labels Total Batches and Batches Processed.
  • CompletedDate — when the job finished (null if still running)
  • ExtendedStatus — "a short description of the first error". The full detail and any subsequent errors are emailed to the last user who modified the batch class, not to you.
  • ParentJobId — set on BatchApexWorker children of a chunked batch job; the reason job counts inflate.
  • CronTriggerId — populated for ScheduledApex only, API v53.0 and later.
soql
SELECT Id, ApexClass.Name, Status, NumberOfErrors, TotalJobItems,
       CreatedDate, CompletedDate, ExtendedStatus
FROM AsyncApexJob
WHERE JobType = 'BatchApex'
ORDER BY CreatedDate DESC
LIMIT 20

CronTrigger and CronJobDetail — the Schedule Itself

AsyncApexJob records what ran. CronTrigger records what is supposed to run, and it is the only object that can prove a job never fired. CronJobDetail carries the job's name and type.

FieldObjectWhy you query it
CronExpressionCronTriggerThe exact expression to re-run System.schedule() with after a refresh
StateCronTriggerWAITING, ACQUIRED, EXECUTING, COMPLETE, ERROR, DELETED, PAUSED, BLOCKED, PAUSED_BLOCKED
NextFireTime / PreviousFireTimeCronTriggerNull NextFireTime means "not scheduled to run again" — an orphan holding a slot
TimesTriggeredCronTriggerZero on a job that has existed for weeks is the tell
TimeZoneSidKeyCronTriggerThe timezone actually recorded, which is the scheduling user's, not the org's
OwnerIdCronTriggerWho created the schedule — rarely the same person as who should be paged
CronJobDetail.NameCronJobDetailThe jobName passed to System.schedule(); your reconciliation key
CronJobDetail.JobTypeCronJobDetail1 Data Export, 3 Dashboard Refresh, 4 Reporting Snapshot, 6 Scheduled Flow, 7 Scheduled Apex, 8 Report Run, 9 Batch Job, A Reporting Notification

Neither object is deployable metadata. A schedule is org data; see references/metadata-examples.md section 1.

Concurrent Batch Apex Limit and the Flex Queue

Three separate numbers, all from the App Limits cheat sheet (L313–319):

  • 5 batch Apex jobs queued or active concurrently.

  • 100 batch Apex jobs in the Apex flex queue in Holding status.

  • 100 Apex classes scheduled concurrently — 5 in Developer Edition orgs. This is a different cap from the two above.

  • Holding — in the flex queue, waiting for the system to move it. Reorder it in Setup > Apex Flex Queue or with System.FlexQueue methods; otherwise the queue is first-in, first-out.

  • Queued — already promoted out of the flex queue, waiting for an executor slot.

Database.executeBatch throws a LimitException when the flex queue is already at 100 — the job is not queued at all (Apex Developer Guide, Holding Batch Jobs in the Apex Flex Queue).

Scheduled Apex Runs Under Synchronous Limits

The App Limits cheat sheet is explicit: "Although scheduled Apex is an asynchronous feature, synchronous limits apply to scheduled Apex jobs" (L36–37). Batch Apex is the opposite — its per-transaction limits "are reset for each execution of a batch of records in the execute method" (L29–30).

This is why the standard shape is a thin Schedulable that immediately calls Database.executeBatch or System.enqueueJob: the Schedulable.execute() body itself gets synchronous headroom only. See apex/apex-scheduled-jobs for the class; standards/decision-trees/async-selection.md Q9 covers "runs on a schedule AND re-runnable ad hoc".

Scheduled Apex Does Not Retry on Failure

When a Scheduled Apex job fails during execution, the schedule definition is NOT deleted. The scheduler will fire the job again at the next scheduled time. The failed execution is recorded in AsyncApexJob with Status='Failed'. There is no native automatic retry on immediate failure — the org waits until the next cron window.


Common Patterns

SOQL Monitoring Dashboard Query

When to use: Quickly checking the status of all Batch Apex jobs in the last 24 hours without navigating to Setup.

How it works:

soql
SELECT ApexClass.Name, Status, JobType, NumberOfErrors, TotalJobItems,
       CompletedDate, ExtendedStatus
FROM AsyncApexJob
WHERE JobType IN ('BatchApex', 'ScheduledApex', 'Queueable')
  AND CreatedDate = LAST_N_HOURS:24
ORDER BY CreatedDate DESC
LIMIT 50

Filter to Status = 'Failed' to find only failures. Check ExtendedStatus for the error message.

Failure Notification via finish() Method

When to use: A Batch Apex job needs to send an alert when it completes with errors — Salesforce does not email on batch failure by default.

How it works:

apex
global class MyBatch implements Database.Batchable<sObject> {
    global Database.QueryLocator start(Database.BatchableContext bc) {
        return Database.getQueryLocator('SELECT Id FROM Account WHERE ...');
    }
    global void execute(Database.BatchableContext bc, List<Account> scope) {
        // processing logic
    }
    global void finish(Database.BatchableContext bc) {
        AsyncApexJob job = [
            SELECT NumberOfErrors, TotalJobItems, ExtendedStatus
            FROM AsyncApexJob
            WHERE Id = :bc.getJobId()
        ];
        if (job.NumberOfErrors > 0) {
            Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
            mail.setToAddresses(new List<String>{'admin@example.com'});
            mail.setSubject('Batch Job Failed: ' + job.NumberOfErrors + ' errors');
            mail.setPlainTextBody(
                'Job: MyBatch\nErrors: ' + job.NumberOfErrors +
                '/' + job.TotalJobItems + '\nDetails: ' + job.ExtendedStatus
            );
            Messaging.sendEmail(new List<Messaging.SingleEmailMessage>{mail});
        }
    }
}

Why not rely on platform notifications: Salesforce does not send email or create alerts when a batch job fails. The finish() method is the only hook available to the developer for failure notification.


Decision Guidance

SituationRecommended ApproachReason
Job is stuck in Queued statusCheck concurrent job count via SOQL or Apex Jobs UIMay be waiting for a slot (5 concurrent limit)
Job shows Status=Failed, or Completed with NumberOfErrors > 0Query ExtendedStatus on AsyncApexJob for error detailExtendedStatus holds the first error only; the rest is emailed to the last user who edited the class
Need to abort a running batch jobDatabase.executeBatch() returns the job ID; use System.abortJob(jobId)Only works if job is in Queued/Holding/Processing
Flow scheduled job not appearing in Apex JobsCheck Setup > Scheduled Jobs for "Schedule-Triggered Flow Interview"Flow jobs do not appear in Apex Jobs
Need email notification on batch failureImplement failure check in finish() method using AsyncApexJob queryNo native platform notification on batch failure
Need to abort a scheduled Apex jobSystem.abortJob(cronTriggerId) — an AsyncApexJob Id will not workThe Apex Reference Guide states you can't abort a scheduled Apex job using an AsyncApexJob ID
Jobs pile up in Holding and one is urgentSystem.FlexQueue.moveJobToFront(jobId), or Setup > Apex Flex QueueFlex queue is FIFO otherwise; the reorder call must be the last statement in the transaction
A job's window keeps being missed with no failureQuery CronTrigger.State for BLOCKEDTwo instances never run concurrently; the second attempt blocks instead
Concurrent limit exceeded repeatedlyStagger schedules and shrink runtime windows before escalatingRaising the 5-job concurrency cap is not documented as self-service in the sources cited here — UNVERIFIED (2026-09-04): whether Salesforce Support will raise the concurrent Batch Apex limit, and for which editions, is not stated in the App Limits cheat sheet, Apex Developer Guide or Apex Reference Guide. Confirm with Support before promising it.

Recommended Workflow

  1. Establish which surface owns the answer. Ran-or-not → AsyncApexJob. Supposed-to-run → CronTrigger + CronJobDetail. Flow interviews → FlowInterview and Setup > Scheduled Jobs. Getting this wrong is why "the flow isn't scheduled" reports are usually false — see references/gotchas.md gotcha 1.
  2. Run the matching query from references/metadata-examples.md section 3 — 3a running/failed, 3c error text, 3d schedules and next fire time, 3e orphans, 3f flex queue order, 3g paused Flow interviews. Always exclude JobType = 'BatchApexWorker' from counts, and never filter failures on Status alone.
  3. Reconcile against the scheduling registry (references/metadata-examples.md section 5). Registry entries with no matching CronJobDetail.Name are jobs that will not run; CronTrigger rows with no registry entry are unowned. Lint the file with python3 scripts/check_batch_job_scheduling_and_monitoring.py --manifest-dir <project> — it exits 1 on a malformed CRON expression, a duplicate job name, or a missing owner / window / alert channel, and WARNs on overlapping windows for one class.
  4. Act with the right Id and the right tool. Abort batch/Queueable/future by AsyncApexJob Id, scheduled Apex by CronTrigger Id; reschedule with System.schedule(name, cron, new Class()) using the registry's expression; prioritise with System.FlexQueue. Snippets in references/metadata-examples.md section 4 — log before aborting, because the abort removes the row.
  5. Close the alerting gap, don't just report it. Pick a recipe from references/metadata-examples.md section 6 and deploy the Async_Job_Operations permission set (section 2a) so the on-call rota can actually read AsyncApexJob. Verify with the SOQL check in section 2, not with a green deploy.
  6. Write the deploy and refresh sequence down. Abort → deploy → reschedule, driven off the registry, added to the release and sandbox-refresh runbooks (devops/sandbox-refresh-and-templates). This is the step that stops the next release failing on a schedule nobody remembered.

Review Checklist

Run through these before marking work in this area complete:

  • Verified job type maps to correct monitoring location (Apex Jobs vs Scheduled Jobs)
  • SOQL query against AsyncApexJob is scoped to the correct JobType and time range
  • ExtendedStatus checked for failed jobs — not just the Status field
  • Concurrent Batch Apex job count confirmed against 5-job limit
  • Batch class finish() method sends notification when NumberOfErrors > 0
  • Scheduled Apex schedule definition confirmed in Scheduled Jobs UI (separate from execution records)
  • JobType = 'BatchApexWorker' excluded from any query that counts jobs
  • Failure predicate is Status = 'Failed' OR NumberOfErrors > 0, not Status alone
  • Every recurring job has a registry entry with an owner, window and alert channel; scripts/check_batch_job_scheduling_and_monitoring.py exits 0
  • CronTrigger.TimeZoneSidKey matches the intended wall-clock time
  • The reschedule step exists in the deploy runbook and the sandbox-refresh runbook

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. Flow scheduled jobs do NOT appear in Setup > Apex Jobs — Admins looking for a scheduled flow that isn't running check Apex Jobs and see nothing. Flow schedule-triggered interviews only appear in Setup > Scheduled Jobs as "Schedule-Triggered Flow Interview". This is a common source of confusion.
  2. Batch Apex failure does not delete the Scheduled Apex schedule — If a batch class is invoked by a scheduled Apex and fails, the batch fails but the schedule continues. The next cron window fires another instance. If the failure is caused by a data issue that isn't fixed, the job will keep failing on every scheduled run without any notification (unless finish() sends one).
  3. NumberOfErrors counts failed CHUNKS, not failed RECORDS — For Batch Apex with a scope of 200, a NumberOfErrors of 1 means one chunk of up to 200 records failed — not necessarily one record. The actual record-level failure requires reading the exception in Database.SaveResult[] in the execute() method.
  4. Abort is not instant, and the Id you pass is not interchangeable — Per the Apex Reference Guide, a job already executing "is still visible in the job queue" after abort and "any code that is in progress will continue to execute until it completes." Batch, Queueable and @future are aborted by AsyncApexJob Id; scheduled Apex only by CronTrigger Id. Log the abort before you issue it — the row you were reading goes away.
  5. Status = 'Completed' includes runs that failed — The Apex Developer Guide's batch status table defines Completed as "Job completed with or without failure", reserving Failed for a system failure. A dashboard filtering on Status alone is blind to the ordinary failure mode.
  6. A live schedule blocks the deploy of its own class — And of every class that class references. The abort → deploy → reschedule order is the guide's own recommendation, which is why the CRON expression belongs in source control.

Full write-ups, with source line ranges, in references/gotchas.md (11 gotchas).


Output Artifacts

ArtifactDescription
AsyncApexJob SOQL queryParameterized query for job history by type and time range
Batch finish() notification snippetApex code for failure detection and email notification in finish()
Concurrent job count querySOQL to count currently Processing batch jobs against the 5-job limit
Scheduled-jobs registryYAML inventory of every recurring job: name, class, CRON, owner, window, dependency, max runtime, alert channel
Reschedule scriptSystem.schedule() calls generated from the registry, for post-deploy and post-refresh use
Orphan reportCronTrigger rows in ERROR / DELETED / null-NextFireTime state, consuming slots against the 100-job cap

Reference Files

FileRead it when
references/metadata-examples.mdYou need the monitoring SOQL, the abort/reschedule/flex-queue Apex, the scheduling registry format, or the deployable permission set and scheduled-Flow XML
references/gotchas.mdA job "looks fine" but the work did not happen, or a deploy failed on a schedule
references/examples.mdYou want a worked diagnosis to follow end to end
references/well-architected.mdJustifying the monitoring and registry investment, or citing sources
references/llm-anti-patterns.mdReviewing AI-generated batch monitoring or scheduling guidance
templates/batch-job-scheduling-and-monitoring-template.mdRecording a live investigation as you work it

Related Skills

  • apex/batch-apex-patterns — writing and designing the Batch Apex class this skill only operates
  • apex/apex-scheduled-jobs — implementing Schedulable and choosing the CRON expression
  • apex/async-apex — the async model these jobs sit inside; read with standards/decision-trees/async-selection.md (Q9 schedule-plus-ad-hoc, Q12 progress feedback)
  • apex/scheduled-apex-failure-detection-and-monitoring — BatchApexErrorEvent and the invocable sweep class the alerting recipe calls
  • apex/apex-batch-chaining — the alternative when one job's runtime keeps overrunning its window
  • apex/custom-logging-and-monitoring — centralized logging when email from finish() stops scaling
  • flow/scheduled-flows — designing the Schedule-Triggered Flow whose schedule this skill monitors
  • flow/scheduled-flow-not-running-debug — when the missing job is a Flow, not Apex
  • devops/sandbox-refresh-and-templates — the refresh sequence that drops every schedule
  • apex/apex-limits-monitoring — OrgLimits and the daily async execution allocation

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Batch Job Scheduling And Monitoring;

Χρησιμοποιήστε την για την παρακολούθηση, τη διάγνωση ή τη διαχείριση προγραμματισμένων εργασιών Batch Apex, Scheduled Apex, Queueable και Flow: Setup > Apex Jobs, ερωτήματα AsyncApexJob, όρια ταυτόχρονων εργασιών, εντοπισμός αποτυχιών και μοτίβα ειδοποιήσεων. ΔΕΝ αφορά τη σύνταξη της ίδιας της κλάσης Batch ή Schedulable — χρησιμοποιήστε το apex/batch-apex-patterns ή το apex/apex-scheduled-jobs. ΔΕΝ αφορά ειδοποιήσεις BatchApexErrorEvent στον κώδικα — χρησιμοποιήστε το apex/scheduled-apex-failure-detection-and-monitoring. Λέξεις-κλειδιά ενεργοποίησης: Setup > Scheduled Jobs, Apex Flex Queue...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Batch Job Scheduling And Monitoring στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Batch Job Scheduling And Monitoring είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Batch Job Scheduling And Monitoring στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/batch-job-scheduling-and-monitoring. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Batch Job Scheduling And Monitoring;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Batch Job Scheduling And Monitoring;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Batch Job Scheduling And Monitoring με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Batch Job Scheduling And Monitoring;

Δημοσιεύεται στο GitHub από τον λογαριασμό PranavNagrecha. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων
Λογότυπο garrytan

Land And Deploy

garrytan
ΚοινότηταΔημοφιλής

Ροή εργασίας ενσωμάτωσης και ανάπτυξης. (gstack)

19.9K
133.5K
Αρχεία: 8
Προβολή
Λογότυπο openclaw

Clawsweeper

openclaw
ΟργανισμόςΔημοφιλής

Χρησιμοποιήστε το για όλες τις εργασίες ClawSweeper: αναφορές ελέγχου issue/PR του OpenClaw, εργασίες επιδιόρθωσης, PR διορθώσεων στο cloud, εντολές αναφοράς συντηρητών με @clawsweeper, αξιόπιστες αυτόματες διορθώσεις/συγχωνεύσεις που έχουν ελεγχθεί από το ClawSweeper, παρακολούθηση του GitHub Actions…

82.2K
391K
Αρχεία: 1
Προβολή
Λογότυπο openclaw

Openclaw Ci Limits

openclaw
ΟργανισμόςΔημοφιλής

Διαχειριστείτε τις GitHub Actions του OpenClaw και τη χωρητικότητα CI του Blacksmith, τους προϋπολογισμούς εγγραφής runner, τα όρια fanout, την εκτέλεση μίας εργασίας κάθε φορά για push στο main, το μέγεθος των shards, την ανάθεση εργασιών σε hosted runners, την κατάσταση της ουράς και ασφαλείς…

82.2K
391K
Αρχεία: 1
Προβολή
Λογότυπο openclaw

Openclaw Testing

openclaw
ΟργανισμόςΔημοφιλής

Επιλέξτε αναλογικές δοκιμές και ελέγχους για το OpenClaw, διαγνώστε αποτυχίες και αναθέστε στον αρμόδιο τις εργασίες που εξαρτώνται από το περιβάλλον ή απαιτούν αποδεικτικά στοιχεία για την έκδοση.

82.2K
391K
Αρχεία: 2
Προβολή

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇