Docs / Waziper

Crons

⏰ Cron Jobs Configuration Cron jobs are essential to ensure that your scheduled tasks (AI Publishing, Post Publishing, RSS Feeds, etc.) run automatically without manual action....

Estimated reading: 2 minutes

⏰ Cron Jobs Configuration

Cron jobs are essential to ensure that your scheduled tasks (AI Publishing, Post Publishing, RSS Feeds, etc.) run automatically without manual action.


🔑 Secure Cron Key

  • Each cron URL is protected by a Secure Key.

  • You can regenerate a new key anytime by clicking Change Key.

  • Always update your server’s cron jobs if you change the key.


📋 List of Available Crons

1. AI Publishing

Runs the automated AI-based publishing tasks.

  • Use with URL

* * * * * curl -fsS "https://yourdomain.com/app/ai-publishing/cron?key=SECURE_KEY" >/dev/null 2>&1
  • Use with Artisan Command

* * * * * php /path-to-your-project/artisan appaipublishing:cron >/dev/null 2>&1

2. Publishing

Handles scheduled post publishing across connected social media accounts.

  • Use with URL

* * * * * curl -fsS "https://yourdomain.com/app/publishing/cron?key=SECURE_KEY" >/dev/null 2>&1
  • Use with Artisan Command

* * * * * php /path-to-your-project/artisan apppublishing:cron >/dev/null 2>&1

3. RSS Schedules

Runs your RSS automation to fetch and publish content at regular intervals.

  • Use with URL

* * * * * curl -fsS "https://yourdomain.com/app/rss-schedules/cron?key=SECURE_KEY" >/dev/null 2>&1
  • Use with Artisan Command

* * * * * php /path-to-your-project/artisan apprsschedules:cron >/dev/null 2>&1

⚙️ Setting up on Server

Linux / cPanel

  1. Open Cron Jobs in your hosting panel.

  2. Add each cron with * * * * * (every minute).

  3. Use either URL method or Artisan command depending on your server.

Windows / WAMP

  • Use Task Scheduler to run the Artisan command every minute.


✅ Recommendations

  • Run all crons every minute for real-time execution.

  • If your hosting restricts cron frequency, set it to at least every 5 minutes.

  • Always test after setting up to confirm tasks are executing.