Latino Clicks Forums
July 31, 2010, 01:35:26 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Latino Clicks Forum Just  Repaired ..UP and Running!!
 
   Home   Help Search Login Register  


Pages: [1]   Go Down
  Print  
Author Topic: what do i need to add to cronjobs to make work Aurora GPT Script ?  (Read 575 times)
molten
Administrator
Jr. Member
*****

Karma: +0/-0
Offline Offline

Posts: 90


View Profile
« on: January 14, 2010, 09:27:22 PM »

it's easy , u need to run this cronjobs in this sequence


GET http://www.domain.info/cron3.php?pwd=passwd > 2 /dev/null              <---monthly

GET http://www.domain.info/cron2.php?pwd=passwd > 2 /dev/null        <---weekly
     
GET http://www.domain.info/cron-ad-alert.php?pwd=passwd > /dev/null        <-----each minute
     
GET http://www.domain.info/cron.php?pwd=passwd > /dev/null                 <------daily
     
GET http://www.domain.info/pemailcron2.php?pwd=passwd > /dev/null     <-----daily
   
GET http://www.domain.info/pemailcron.php?pwd=passwd > /dev/null     <----daily


if the command  GET is not disponible at server , then use  lynx  or curl     Cheesy

i will add more info about cronjobs in nex posts 
Logged
molten
Administrator
Jr. Member
*****

Karma: +0/-0
Offline Offline

Posts: 90


View Profile
« Reply #1 on: March 16, 2010, 07:20:03 PM »

If your hosting account does not accept the command GET ... use curl instead of it and will work ...



0 0 1 * *     /usr/bin/curl --silent http://www.yoursite/cron3.php?pwd=yourpass 2 > /dev/null <-monthly
15 0 * * *    /usr/bin/curl --silent  http://www.yoursite/cron.php?pwd=yourpass 2 > /dev/null   <-daily
0 0 * * 6     /usr/bin/curl --silent http://www.yoursite/cron2.php?pwd=yourpass 2 > /dev/null <--weekly
5 0 */2 * *   /usr/bin/curl --silent http://www.yoursite/pemailcron.php?pwd=yourpass 2 > /dev/null
*/10 * * * *   /usr/bin/curl --silent http://www.yoursite/pemailcron2.php?pwd=yourpass 2 > /dev/null
*/5 * * * *   /usr/bin/curl --silent http://www.yoursite/cron-ad-alert.php?pwd=yourpass 2 > /dev/null

there is another way to run the crons with  Lynx command ... we can show it later
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!