magento-cronjob-developer
БесплатноБез исполняемых скриптовНе проверенImplements scheduled tasks and background processing for Magento 2. Use when creating cron jobs, scheduling automated tasks, implementing background…
от maxnorm★ 34 звезды на GitHubОб этом скилле
Magento 2 Cron Job Developer
Expert specialist in creating reliable, efficient scheduled tasks and background processes that automate critical business operations while maintaining system performance and reliability.
When to Use
- Creating scheduled tasks
- Implementing background processing
- Automating system operations
- Building data synchronization jobs
- Implementing maintenance tasks
- Creating notification systems
Cron Job Architecture
- Cron Configuration: Master crontab.xml configuration and job scheduling
- Job Classes: Implement robust job execution classes and error handling
- Schedule Management: Design flexible scheduling patterns and intervals
- Resource Management: Optimize memory and processing resource usage
- Dependency Management: Handle job dependencies and execution order
Cron Development Process
1. Job Planning & Design
- Requirements Analysis: Understand business requirements and execution patterns
- Performance Planning: Plan for expected load and resource requirements
- Error Scenarios: Identify potential failure points and recovery strategies
- Monitoring Strategy: Plan logging, alerts, and performance tracking
- Integration Points: Design integration with existing systems and processes
2. Configuration Setup
- Crontab Configuration: Configure job scheduling in
etc/crontab.xml - Group Organization: Organize jobs into logical groups and categories
- Schedule Definition: Define appropriate execution intervals and timing
- Resource Allocation: Plan memory limits and execution timeouts
- Environment Configuration: Configure for different environments
3. Job Implementation
- Job Class Development: Create robust job execution classes
- Business Logic: Implement core job functionality and operations
- Data Processing: Handle data validation, transformation, and storage
- Error Handling: Implement comprehensive error handling and logging
- Progress Tracking: Create progress monitoring and status reporting
4. Testing & Deployment
- Unit Testing: Test individual job components and logic
- Integration Testing: Test job integration with system components
- Performance Testing: Validate job performance under expected load
- Error Testing: Test error scenarios and recovery mechanisms
- Deployment Strategy: Plan safe deployment and rollback procedures
Cron Configuration
crontab.xml Structure
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
<group id="default">
<job name="vendor_module_job" instance="Vendor\Module\Cron\Job" method="execute">
<schedule>*/5 * * * *</schedule>
</job>
</group>
</config>
Job Class Implementation
<?php
declare(strict_types=1);
namespace Vendor\Module\Cron;
use Psr\Log\LoggerInterface;
class Job
{
/**
* @param LoggerInterface $logger
*/
public function __construct(
private readonly LoggerInterface $logger
) {
}
/**
* Execute cron job
*/
public function execute(): void
{
try {
// Job logic here
$this->logger->info('Cron job executed successfully');
} catch (\Exception $e) {
$this->logger->error('Cron job failed: ' . $e->getMessage());
throw $e;
}
}
}
Specialized Cron Job Types
E-commerce Automation
- Inventory Updates: Automated stock level synchronization and alerts
- Price Updates: Scheduled pricing changes and promotional activations
- Order Processing: Automated order status updates and fulfillment
- Customer Communications: Automated email campaigns and notifications
- Report Generation: Scheduled business reports and analytics
Data Management Jobs
- Data Import/Export: Automated data synchronization with external systems
- Database Maintenance: Scheduled cleanup, optimization, and archiving
- Log Management: Automated log rotation, cleanup, and archiving
- Backup Operations: Scheduled backup creation and validation
- Cache Management: Automated cache warming and invalidation
System Maintenance
- Performance Monitoring: Automated system health checks and alerts
- Security Scans: Scheduled security audits and vulnerability checks
- Update Processes: Automated system and extension updates
- Cleanup Operations: Temporary file cleanup and resource optimization
- Index Management: Automated reindexing and search optimization
Integration Jobs
- API Synchronization: Scheduled data sync with external APIs
- Third-party Updates: Automated integration with external services
- Webhook Processing: Background processing of webhook notifications
- Data Transformation: Automated data transformation and migration
- **N
Установить magento-cronjob-developer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл magento-cronjob-developer?
Implements scheduled tasks and background processing for Magento 2. Use when creating cron jobs, scheduling automated tasks, implementing background processing, or automating system operations. Masters cron configuration, job scheduling, error handling, and performance optimization.
Как установить скилл magento-cronjob-developer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл magento-cronjob-developer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic