View Single Post
  #2  
Old 4th March 2013, 18:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by manarak View Post
Question 1:
how do I properly setup a cron job in ISPConfig3 interface to execute script1.php located at
/var/www/clients/client1/web1/cron/script1.php
?
(I do not wish the script to be reachable by http: )
Code:
/path/to/php /var/www/clients/client1/web1/cron/script1.php
Quote:
Originally Posted by manarak View Post
Question 2:
let's assume script1.sh has to perform some tasks in some special directory such as
/var/vmail/mailfilters/domain.com/ to modify some files there.
Same question, how do I setup the CRON job in ISPConfig3 interface?
Make sure script1.sh is executable. Specify the path to the script in the cron job:
Code:
/path/to/script1.sh
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote