Habitica icon

Habitica

Habitica API

Overview

This node executes a Cron job based on the specified configuration. It is useful for automating tasks that need to run at scheduled intervals without manual intervention. For example, it can be used to trigger workflows that perform data synchronization, send notifications, or run maintenance scripts on a regular basis.

Use Case Examples

  1. Run a workflow every hour to fetch new data from an API.
  2. Trigger a daily report generation and email dispatch.
  3. Schedule periodic cleanup of temporary files or database records.

Properties

Name Meaning
Request Options Settings to control how the cron job requests are handled, including batching, SSL certificate validation, proxy usage, and timeout settings.

Output

JSON

  • cronExecutionResult - The result or status of the executed cron job, indicating success or failure and any relevant data returned from the cron operation.

Troubleshooting

  • Ensure the cron schedule is correctly configured to avoid unexpected execution times.
  • If using proxy settings, verify the proxy URL and credentials are correct to prevent connection failures.
  • Timeout errors may occur if the server is slow to respond; consider increasing the timeout value if needed.
  • Ignoring SSL issues can expose security risks; use this option only if you trust the target server.

Discussion