Skip to content

Cronjob

A Cron Job is a scheduled task that runs automatically at specified intervals to execute commands or scripts. In Whatsmark, cron jobs are essential for automating tasks like sending scheduled messages, updating records, or processing background jobs.

cronjob

How to use

  • Connect to your server: Use SSH or a similar method to access your server's command line.

  • Open crontab: Use the command crontab -e to open the cron table file in a text editor. This file stores the cron jobs for your user.

  • Add the command: Paste the provided command (C:\wamp64\bin\php\php8.2.18\php.EXE ...) into the crontab file.

  • Save: Save the crontab file. The cron daemon will automatically detect the changes and start running the job according to the schedule

  • The system will display Congratulations! Your cronjob is running.

  • If it says Never, it means the cron job hasn’t run yet

  • It automates scheduled tasks without manual execution.

  • Ensures timely execution of background processes.

  • Runs at every minute to execute commands needed for Whatsmark's functionality.

© 2024 - Corbital Technologies. All rights reserved.