شعار 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، دليل تشغيل المهام المجدولة.

Add to TypingMind

نظرة عامة

الناشرPranavNagrecha
المستودعAwesomeSalesforceSkills
اسم المهارةbatch-job-scheduling-and-monitoring
النجوم
26
التفريعات
5
الملفات المرفقة
7
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها PranavNagrecha على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Batch Job Scheduling And Monitoring في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/batch-job-scheduling-and-monitoring
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق 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 وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Batch Job Scheduling And Monitoring تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة 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

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.schedul...

لماذا تستخدم 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 الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Batch Job Scheduling And Monitoring؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Batch Job Scheduling And Monitoring؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Batch Job Scheduling And Monitoring معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Batch Job Scheduling And Monitoring مجانية؟

نشرها PranavNagrecha على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇