Crontab in Linux command

Crontab is a powerful scheduling tool in Linux that allows you to automate tasks at specific times or intervals. This is particularly useful for AbanteCart to schedule recurring tasks

Using Crontab:

  1. Access Terminal: Open a terminal window as the same Linux user that runs your web server.

  2. Edit Crontab: Execute the command crontab -e. This will open a text editor where you can define your cron jobs.

  3. Add a Cron Job: Enter a new line with the following format:

    minute hour day-of-month month day-of-week command

    The cron job with the expression */5 * * * * will execute the scheduled task every 5 minutes

AbanteCart, all rights reserved. 2024 ©