Setting up a Cron Job (Hsphere)

Setting up a Cron Job (Hsphere)


1. Login to your Hsphere account.



2. Point your cursor over to "FTP/User Account" in the top menu a drop down menu will appear and click "FTP User"



3. Click red "Off" button to turn it on if it's currently set to off.
Skip this step if it's already turned on showing green "on".



4. Click the hammer icon next to the green "on" button.



5. Input your information as shown below:



Mail To: you@youremail-address.com (the result of cron job will be sent to this email address)



Minute: 0-59 or *



Hour: 0-23 or *



Day of Month: 1-31 or * Month: 1-12 or *



Day of Week: 0-7 or *



Command: /hsphere/local/home/ftp-login-name/scriptpath



For example to execute a php script set the command to:

/hsphere/shared/php5/bin/php -q /hsphere/local/home/ftp-login-name/scriptpath/script.php



Note: * means on every occurrence.



6. click "Submit Query" button to enable this Cron Job
    • Related Articles

    • Mail Migration Process

      1.       When mail1.domain.com is moving to mail2.domain.com, DNS will be changed and all the emails will be moved to the new mail server (mail2.domain.com). 2.       After 24 hours, any mail that was sent to the old server (mail1.domain.com) will be ...
    • SugarCRM In-Box Cron Creation for incoming email

      User would like to create a cron to schedule sugarcrm inbox email to pull email from their pop3 mail box 1) using any ftp client, or the file manager within your hosting control panel - set the file permissions of /sugarcrm-install-directory/cron.php ...
    • Restore Deleted Hsphere Account

      If a customer or reseller has deleted an Hsphere account, there is a $75 one time fee to work with the customer to restore service and restore the account If a customer has deleted a Hsphere account and needs it restored, follow the steps below. In ...
    • Restore Deleted Hsphere Account

      If a customer or reseller has deleted an Hsphere account, there is a $75 one time fee to work with the customer to restore service and restore the account If a customer has deleted a Hsphere account and needs it restored, follow the steps below. In ...
    • SPF Records Hsphere

      What are SPF records and how they are useful -- Adding SPF records in HSphere. The Sender Policy Framework (SPF) is an email verification DNS tool that prevents email spam. It validates senders' IP addresses to counteract email forging. Mail ...