We are Online: (+91) 7702677340

Free Installation on all scripts over $30.00

View Categories

How to setup cronjobs in Perfect Panel Script?

2 min read

Cron jobs are essential for automating specific tasks in your Dream Script application. Follow these steps to configure cron jobs using your hosting control panel.

Prerequisites #

Before you begin, make sure you have completed the following:

Accessing Your Hosting Control Panel (cPanel) #

  1. Open a web browser and go to your hosting control panel (cPanel) by visiting https://yourdomain.com/cpanel. Log in using your credentials.

Locating the Cron Jobs Section #

  1. Inside the cPanel, look for the “Cron Jobs” section. This section is usually categorized under “Advanced” or “Scheduled Tasks.”

Adding Cron Jobs #

  1. In the “Cron Jobs” section, you’ll find fields to specify the command and timing for your cron jobs. Add the following wget commands one at a time into the command field:
wget --spider -O - https://YourDomain.com/crons/autolike.php
wget --spider -O - https://YourDomain.com/crons/checkToAPI.php
wget --spider -O - https://YourDomain.com/crons/dripfeed.php
wget --spider -O - https://YourDomain.com/crons/orders.php
wget --spider -O - https://YourDomain.com/crons/providers.php
  1. Set the timing for each cron job as follows:
    • autolike.php: Set this to run every 5 minutes.
    • checkToAPI.php: Also set this to run every 5 minutes.
    • dripfeed.php: Set this to run every 5 minutes.
    • orders.php: Set this to run every 1 minute.
    • providers.php: Set this to run every 5 minutes.
    The timing settings can vary based on your hosting control panel, and you can use cron syntax like */5 * * * * for every 5 minutes and * * * * * for every 1 minute.

Saving the Cron Jobs #

  1. After adding each cron job with its respective timing, save the changes within your hosting control panel. The cron jobs will now run automatically at the specified intervals.

Testing the Cron Jobs #

  1. To ensure the cron jobs are working correctly, monitor your Dream Script application for any changes or updates triggered by these cron jobs. You can also check your server’s log files for any errors related to the cron jobs.

That’s it! You’ve successfully set up and configured cron jobs for your Dream Script application, automating essential tasks and maintaining the smooth operation of your site.

Free Installation

On all orders above $30

Easy 30 days Replace

30 days Replace Policy

Clean Products

Offered in the clean of usage

100% Secure Checkout

PayPal / MasterCard / Visa