Results 1 to 3 of 3
-
3rd Jun 2011, 10:31 PM #1OPBanned
VPS cron job
Hi all,
I need to run a php script, checkhosts_bot.php, on a vps.
Anyone have the correct way to do this?
Thanks in advance.Spooky Reviewed by Spooky on . VPS cron job Hi all, I need to run a php script, checkhosts_bot.php, on a vps. Anyone have the correct way to do this? Thanks in advance. Rating: 5
-
3rd Jun 2011, 10:35 PM #2Respected Developer
use crontab
to add a cronjob in ssh type
Code:crontab -e
Code:crontab -r
Code:crontab -l
you can give a cronjob to your script like
Code:*/5 * * * * /usr/bin/php /your/path/to/phpfile.php
http://www.youtube.com/watch?v=jyhb8GmfSnUBots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
3rd Jun 2011, 10:37 PM #3OPBanned
Thank you very much.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Cron or Pseudo-cron?
By m1mi.dan0s in forum Webmaster ResourcesReplies: 5Last Post: 29th Jul 2012, 07:14 PM -
Help with Cron Job
By UKInternetGroup in forum Technical Help Desk SupportReplies: 15Last Post: 6th Mar 2012, 08:56 AM -
Need Help In Cron job
By ::ALEX:: in forum Technical Help Desk SupportReplies: 1Last Post: 26th Dec 2011, 10:33 PM -
Cron Job
By Spooky in forum Web Application/Script SupportReplies: 4Last Post: 9th Nov 2010, 01:22 PM -
Cron Job Help
By xxenragedxx in forum Technical Help Desk SupportReplies: 2Last Post: 7th Jan 2010, 11:19 AM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...