SEN-Solutions

You are here: Home R&D Blog Execute cron job on Centos / directadmin panel

Execute cron job on Centos / directadmin panel

16 Jun

Hello :),

Today i'd like to give you a line code how to execute a Php cron job on your server. If you use Directadmin you can go to "Cron job" menu on th e home interface.

Create new cron and put your code here, we have two possibilities:

cd /home/user/domains/domain.com/public_html; /usr/local/bin/php -f script.php

 

/usr/local/bin/php -q /home/user/domains/domain.com/public_html/script.php

Maher chakroun

All our stuff are available for your support.

Please contact us by email on contact@sen-solutions.com

Website: www.sen-solutions.com
Login to post comments

Sample image

Send us an This email address is being protected from spambots. You need JavaScript enabled to view it. or give us a call on (00216) 28 20 22 36

Location

  • Office 1: Sokra Road, km3, Bussiness incubator "Sfax innovation1" - Sfax 3052 - Tunisia.
  • Office 2: Majida Boulia Avenue, Monia Building, S3, O8. Sfax 3000. Tunisia.
  • (00216) 28 20 22 36

Newsletter

Follow SEN_Solutions on Twitter