Sure, here's an article on how to set up CRON jobs with SSH for your website hosted with Unique Hosting Private Limited:
How to Set Up CRON Jobs with SSH on Unique Hosting Private Limited
CRON jobs are a useful tool for automating tasks on your website, such as backing up your database or sending automated emails. With SSH access on Unique Hosting Private Limited, you can easily set up CRON jobs using the command line. Here's how to do it:
Step 1: Log in to your account using SSH
To get started, log in to your account using SSH. You can use a program like PuTTY or Terminal to log in to your account. If you're using a Windows computer, you'll need to download and install PuTTY first.
Step 2: Navigate to the CRON jobs section
Once you've logged in to your account using SSH, navigate to the CRON jobs section by typing the following command:
```
crontab -e
```
This will open the CRON jobs file in a text editor.
Step 3: Set up your CRON job
In the CRON jobs file, you'll see a series of commands that look like this:
```
* * * * * command to be executed
- - - - -
| | | | |
| | | | ----- Day of the Week (0 - 7) (Sunday is 0 or 7)
| | | ------- Month (1 - 12)
| | --------- Day of the Month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)
```
Each line represents a different part of the CRON job. You can use this format to set up your own CRON job. For example, if you want to run a script called "backup.php" every day at 2am, you would add the following line to the CRON jobs file:
```
0 2 * * * /usr/bin/php /home/username/public_html/backup.php
```
This line tells the server to run the "backup.php" script every day at 2am using PHP.
Step 4: Save your changes
After you've set up your CRON job, save your changes to the CRON jobs file and exit the text editor.
Conclusion
Setting up CRON jobs with SSH on Unique Hosting Private Limited is a great way to automate tasks on your website. By following the steps outlined above, you can set up CRON jobs quickly and easily using the command line.