crontab is to Schedule a command to run at a later time.It is a very helpfull tool in Linux.
login to CWP as root
http://Server_IP:2030/
Navigate to
Server Settings --> Crontab for root --> Add Common Cron Jobs or Add Custom Cron Jobs --> put command #Don't forget to always use a full path
We can change settings to schedule command according to the requirement.
Add Common Cron Jobs
CWP already have a list of pre-build crontat settings, You can simply select settings and input command.
Add Custom Cron Jobs
If you want to customise cron settings , You have an option to do that also.Select settings according to your requirement
field | allowed values |
---|---|
minute | 0–59 |
hour | 0–23 |
day of month | 1–31 |
month | 1–12 (or names; see example below) |
day of week | 0–7 (0 or 7 is Sunday, or use names; see below) |