Shopware icon

Shopware

Shopware

Actions778

Scheduled Task → Create Scheduled Task

AI-generated

Overview

This node operation creates a Scheduled Task in the Shopware system. It is useful for automating the creation of scheduled tasks that run at specified intervals, such as maintenance jobs, data synchronization, or other periodic processes within Shopware.

Use Case Examples

  1. Creating a scheduled task to run a database cleanup every hour.
  2. Setting up a scheduled task to synchronize product inventory with an external system daily.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the scheduled task.
Name Name of the scheduled task.
Scheduled Task Class Class name that defines the scheduled task's behavior.
Run Interval Interval in which the task should run.
Default Run Interval Default interval for running the task if no specific interval is set.
Status Current status of the scheduled task.
Last Execution Time Timestamp of the last time the task was executed.
Next Execution Time Timestamp of the next scheduled execution.
Created At Timestamp when the scheduled task was created.
Updated At Timestamp when the scheduled task was last updated.
Request Options Additional request options such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • id - Unique identifier of the created scheduled task.
  • name - Name of the created scheduled task.
  • scheduledTaskClass - Class defining the scheduled task behavior.
  • runInterval - Interval at which the task runs.
  • defaultRunInterval - Default run interval if not otherwise specified.
  • status - Status of the scheduled task.
  • lastExecutionTime - Last execution timestamp.
  • nextExecutionTime - Next scheduled execution timestamp.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure all required fields (Id, Name, Scheduled Task Class, Run Interval, Default Run Interval, Status) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication errors occur.
  • If SSL issues arise, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate validity.
  • Timeout errors can be mitigated by increasing the timeout setting in Request Options.

Discussion