mittwald icon

mittwald

Interact with mittwald mStudio API

Actions100

Overview

This node allows users to create a new cronjob within a specified project using the mittwald mStudio API. It is useful for automating scheduled tasks such as triggering webhooks, running periodic jobs, or sending notifications at defined intervals. For example, you could use this node to set up a cronjob that calls a URL every 5 minutes to sync data between systems or to send reminder emails on a schedule.

Properties

Name Meaning
Project Id The ID of the project where the cronjob will be created.
Active Whether the cronjob should be active immediately after creation (true/false).
App Id Identifier of the application associated with the cronjob.
Description A textual description of the cronjob’s purpose or details.
Destination JSON object specifying the destination URL and related settings where the cronjob calls.
Email Optional email address to notify about cronjob events or failures.
Interval Cron expression defining how often the cronjob runs (e.g., "*/5 * * * *" for every 5 min).
Timeout Timeout duration in seconds for the cronjob execution before it is considered failed.

Output

The node outputs JSON data representing the created cronjob resource as returned by the mittwald mStudio API. This typically includes details such as the cronjob ID, status, configuration parameters, and timestamps. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de for all requests.
  • Proper network access to the mittwald API endpoint is necessary.

Troubleshooting

  • Invalid Project Id or App Id: Ensure the provided IDs exist and are correct; otherwise, the API may return errors indicating resource not found.
  • Malformed Destination JSON: The destination property must be valid JSON; invalid JSON will cause request failures.
  • Incorrect Cron Expression: The interval must be a valid cron syntax string; invalid expressions will be rejected by the API.
  • Timeout Issues: Setting timeout too low might cause premature job failures; adjust according to expected job duration.
  • Authentication Errors: Verify that the API key credential is correctly configured and has sufficient permissions.

Links and References

Discussion