Pages: [1] 2 3 ... 8   Go Down
  Print  
Author Topic: Cron Jobs for Aurora scripts  (Read 7884 times)
cARRIE
Administrator
Hero Member
*****
Offline Offline

Posts: 1458



View Profile WWW
« on: June 04, 2010, 06:46:15 PM »

First, I want to thank you for this great forum. I'm sure this place will be a good help/addition for new SDR users.

Now, I have a question that will probably interest all new aurora Sdr users.
How best to set cron jobs for the aurora sdr 1.1b, and which cron jobs to use for what?

These cron files i have in my script.

cron.php
cron2.php
cron3.php
cron_adminMailer.php
cron_token.php
cron-ad-alert.php
pemailcron.php
pemailcron2.php

Example:
0 0 * * *    /usr/bin/curl --silent  http://www.yoursite.com/cron.php?pwd=yourpass  2 > /dev/null
(daily functions)


I'm not sure what others are doing and when/if they need to execute.
« Last Edit: September 06, 2010, 04:19:10 PM by 757jterrell » Logged

Upgrade to an SDR 3
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #1 on: June 04, 2010, 10:06:57 PM »

This is so important, we will make it a sticky.


cron.php  = daily functions (contest, clicks, memberships, etc)
cron2.php  =  weekly functions
cron3.php  =  monthly functions
cron_adminMailer.php   =  used with cron mailer that is not used in SDR scripts,kept in case admin wants the cron mailer version
cron_token.php   =  NOT USED IN SDR SCRIPTS< FORGOT TO TAKE OUT. GONE NOW LOL
cron-ad-alert.php  =  controls the ad alerts to your members  
pemailcron.php =  sets up the email list for the paid to read emails
pemailcron2.php =  sends out your paid to read emails

/usr/bin/curl --silent http://www.domain.com/cron-ad-alert.php?pwd=password 2 > /dev/null      */5   *   *   *   *
This will send out the ad alert emails every 5 minutes. Can be moved WAY back to reduce load.


/usr/bin/curl --silent http://www.domain.com/pemailcron2.php?pwd=password 2 > /dev/null      */10   *   *   *   *
This will send out the ptre every 10 minutes. Can be moved WAY back to reduce load.


/usr/bin/curl --silent http://www.domain.com/pemailcron.php?pwd=password 2 > /dev/null      5   0   */2   *   *
This will reset the ptre list every two days, its good at this time interval.   


/usr/bin/curl --silent http://www.domain.com/cron2.php?pwd=password 2 > /dev/null         0   0   *   *   6
This will do the weekly functions once a week. This is where you want it.


/usr/bin/curl --silent http://www.domain.com/cron.php?pwd=password 2 > /dev/null         15   0   *   *   *
This is the daily functions and is were you want it.


/usr/bin/curl --silent http://www.domain.com/cron3.php?pwd=password 2 > /dev/null         0   0   1   *   *
This is the monthly function and will be done once a month. PERFECT.
« Last Edit: June 04, 2010, 10:52:04 PM by 757jterrell » Logged

TheRock
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #2 on: June 05, 2010, 07:17:18 AM »

Aww that's just great, I've been running 3 crons I don't need (the ptre ones) Lips Sealed
Logged
gcttirth
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #3 on: June 10, 2010, 05:12:59 AM »

I wonders why, but the daily cron job are not working on server reset time .. Do I need to change anything for that ?
Logged
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #4 on: June 12, 2010, 03:51:38 PM »

I wonders why, but the daily cron job are not working on server reset time .. Do I need to change anything for that ?

Well, there are a few things that can cause that.

1) Crons not actually installed 
2) Cron password in the crons themselves and the site settings do not match.
3) Your host is using a different format for the crons.

I would first check to see if the crons are added. Then, I would look at the cron password on the site settings as seen below (3rd from the bottom) and make sure it matches the cron password as listed in the crons themselves.




I hope this helps.
Logged

gcttirth
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #5 on: June 14, 2010, 02:22:50 AM »

I wonders why, but the daily cron job are not working on server reset time .. Do I need to change anything for that ?

Well, there are a few things that can cause that.

1) Crons not actually installed 
2) Cron password in the crons themselves and the site settings do not match.
3) Your host is using a different format for the crons.

I would first check to see if the crons are added. Then, I would look at the cron password on the site settings as seen below (3rd from the bottom) and make sure it matches the cron password as listed in the crons themselves.




I hope this helps.


Well, all the things are correct, and crons runs most of the time, but on sometime, they don't .. I will tell you when this occurs again .. Smiley
Logged
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #6 on: June 14, 2010, 05:58:27 PM »

gcttirth, please let me know if you are still having problems.
Logged

gcttirth
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #7 on: June 17, 2010, 04:13:31 PM »

Okay, happened again , please pm me what I need to do .. I have my cron job set as mentioned here .. still it is not working ..
Logged
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #8 on: June 17, 2010, 04:35:33 PM »

Okay, happened again , please pm me what I need to do .. I have my cron job set as mentioned here .. still it is not working ..

Ok, then this could be a hosting issue, who is your host? they may be using a different cron format. I would ask them to review the crons to see if they are in the proper format for their servers.  If that does not resolve it, we may need to see what else is causing the problems.
Logged

Ptcdd
Newbie
*
Offline Offline

Posts: 2


View Profile WWW
« Reply #9 on: July 07, 2010, 03:00:00 PM »

This is the first time I made a website PTC. Some questions may seem silly, but I really do not understand.
 - What is a CRON.
 - CRON each, How work.
 - If modify it. that the file or where ?
  Please tell me the details clearly.
Because now my website. Has just one click. I wait two days, the ads can not to click.
Logged
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #10 on: July 09, 2010, 10:29:19 PM »

This is the first time I made a website PTC. Some questions may seem silly, but I really do not understand.
 - What is a CRON.
 - CRON each, How work.
 - If modify it. that the file or where ?
  Please tell me the details clearly.
Because now my website. Has just one click. I wait two days, the ads can not to click.

Cron is a basically a set of instructions to have the site do specific things on a certain time table, for example daily at 1am or weekly every sunday at midnight.

The crons are controlled by files within the script that list the functions to be done and how to do them.

What you see listed in this thread are the instructions to make those files work as intended.

If you set your crons up as specified they should work. IF not, then contact your host to see if they are using a different format for the crons.
Logged

join
Newbie
*
Offline Offline

Posts: 36


Be My Partner


View Profile WWW
« Reply #11 on: August 10, 2010, 06:52:12 AM »

This is so important, we will make it a sticky.


cron.php  = daily functions (contest, clicks, memberships, etc)
cron2.php  =  weekly functions
cron3.php  =  monthly functions
cron_adminMailer.php   =  used with cron mailer that is not used in SDR scripts,kept in case admin wants the cron mailer version
cron_token.php   =  NOT USED IN SDR SCRIPTS< FORGOT TO TAKE OUT. GONE NOW LOL
cron-ad-alert.php  =  controls the ad alerts to your members  
pemailcron.php =  sets up the email list for the paid to read emails
pemailcron2.php =  sends out your paid to read emails

/usr/bin/curl --silent http://www.domain.com/cron-ad-alert.php?pwd=password 2 > /dev/null      */5   *   *   *   *
This will send out the ad alert emails every 5 minutes. Can be moved WAY back to reduce load.


/usr/bin/curl --silent http://www.domain.com/pemailcron2.php?pwd=password 2 > /dev/null      */10   *   *   *   *
This will send out the ptre every 10 minutes. Can be moved WAY back to reduce load.


/usr/bin/curl --silent http://www.domain.com/pemailcron.php?pwd=password 2 > /dev/null      5   0   */2   *   *
This will reset the ptre list every two days, its good at this time interval.   


/usr/bin/curl --silent http://www.domain.com/cron2.php?pwd=password 2 > /dev/null         0   0   *   *   6
This will do the weekly functions once a week. This is where you want it.


/usr/bin/curl --silent http://www.domain.com/cron.php?pwd=password 2 > /dev/null         15   0   *   *   *
This is the daily functions and is were you want it.


/usr/bin/curl --silent http://www.domain.com/cron3.php?pwd=password 2 > /dev/null         0   0   1   *   *
This is the monthly function and will be done once a month. PERFECT.




in what file the cron job / those setting above configured ?
sorry I'm so so so newbie Smiley
Logged

757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #12 on: August 10, 2010, 09:01:08 PM »

Those settings are actually set up in your cpanel under crons
Logged

MITM
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #13 on: August 13, 2010, 02:41:01 AM »

Hello everyone
 I am new here so please forgive any forum etiquette violation on my part.
here is my problem:
 I have 3 Aurora sites all running the same ver. 4.0.3 :

Version: AuroraGPT 4-MR.V3
This version was released by the owners of Maderite Hosting and MadeRite Scripts
Distribution of This version is only authorized by MadeRite Hosting and MadeRite Scripts .
Copyright © 2009 Script By MadeRite Scripts
and on the same host. On 2 of them, raptorhits.info & rarecarptc.info the crons go off without a hitch. on the third one, oldchopperptc.info the crons are not running correctly. My host, Host gator, has been contacted and they looked into it, both by phone with me & their ticket system, and they say it is a scripting issue not on their end.
 That site stats reset every night but the user stats as for the daily top clickers do not. The paid emails are not being sent out & it does not send new ad alerts to me or the members. It does send member mail from the admin, and contact form mail to the admin(me of course).
 All three sets of crons are set up identical (as per this forum) with the exception of timing so that they will not overload the server and make them not run. I even copied the cron files from raptorhits.info and substituted them into oldchopperptc.info and there was no change. I have since restored the old files there.
 I do not understand and am totally baffled as to how 2 out of 3 identical sites can run cron jobs perfectly but the 3rd one will not. And yes the password matches the settings one. And how can it be a "scripting error" as suggested by my host if they are all the same. Running into a physical impossibility in that area.
 Anyone have a clue as too how to fix this or where to go next??? I am not opposed if someone wants to go in and "have a look under the hood".
 Any help will be gratefully accepted.
Thanks, Group....

  JR Robinson - Admin/Owner
  MITM Marketing & Sales:

  http://www.oldchopperptc.info
  PTC/PTR site

  http://www.rarecarptc.info
   PTC/PTR site
  "Get Paid To Click & More

  http://www.raptorhits.info
  PTC/PTR site
  **No click pays less than 2cents!**

  http://www.money-in-the-mailbox.info
  PTC/PTR site
  "Less Clicking - More Pay!"

   http://www.mitmsales.com/88cent
  88cent Digital Downloads

  "Online Marketing Knowledge Base!"
Logged
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #14 on: August 13, 2010, 11:33:55 AM »

Well the paid email thing could be a problem in the script, there was an error in the script some time ago. Since it looks like this site was purchased from connie, I would recommend that you contact her for support. She should be able to fix it pretty easy.  IF NOT, then please post in the need a fix solution and I will dig the fix out of my files, its been awhile since I have seen this problem.
Logged

Get a SDR 3 NOW at http://ptcfactory.info

The best and most up to date Aurora script in the market!!
Pages: [1] 2 3 ... 8   Go Up
  Print  
 
Jump to: