Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
setup PHP cronjob
11-07-2008, 10:03 AM (This post was last modified: 12-18-2008 11:10 AM by [3i] Hung.)
Post: #1
setup PHP cronjob
If you want to setup your own cronjob with your owned PHP script in DirectAdmin, just do the following steps

Quote:1. login DA
2. click to Cronjobs link in Advanced Features
3. choose the time
4. command will like this: /usr/local/bin/php -q /home/<your-DA-username>/real-path-to-our script
Visit this user's website Find all posts by this user
Quote this message in a reply
03-13-2010, 10:44 AM
Post: #2
RE: setup PHP cronjob
I tried the steps you provided and it really worked, i searched on the Internet for this but after a long time i was reverted to this post. This post has helped me a lot and i will be sharing it on my blog so that others can also get the benefit of this.
Find all posts by this user
Quote this message in a reply
04-27-2010, 06:35 PM (This post was last modified: 04-27-2010 08:06 PM by aarenlainey.)
Post: #3
RE: setup PHP cronjob
As we know this crontab utility on UNIX systems allows commands to be executed also allowed predefined intervals. Cron Job is also known as Scheduled Task. We can also write program or can say command which run on particular time only and on the particular date. It has been useful for me to understand all this things.

r4i sdhc
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: