13, February 2012

creating "remote" CRON jobs - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: creating "remote" CRON jobs
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: creating "remote" CRON jobs  (Read 3609 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« on: Sep 16, 2007, 09:43:01 am »

Hi,

the CRON function on my reseller account doesn't work and the provider looks not be able to solve that problem Sad
because I need some simple jobs done on the server I decided to run these CRON's on my own machine.

I remember me that there is the "GET" required, but what is the right matrix for this regular CRON job:

Code:
0 14 * * * /usr/local/bin/php /home/userone/domains/domain.com/public_html/daily_update.php



Last blog : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #1 on: Sep 16, 2007, 10:02:31 am »

I am not sure what you want to do, but as you need remote cron jobs why don't you curl/wget the page from your server?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Sep 16, 2007, 11:21:46 am »

I am not sure what you want to do, but as you need remote cron jobs why don't you curl/wget the page from your server?

I need to execute the files on that reseller server ones a day, is it faster/better to do it that way?



Last blog : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #3 on: Sep 16, 2007, 12:19:52 pm »

It is not faster but this way you can trigger the cron job from another server, and run it to the server you want.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Sep 24, 2007, 03:14:21 pm »

I was wrong, what I meant was this:

0 4 * * * wget http://www.example.com/file.php

this is OK right?


Last blog : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #5 on: Sep 24, 2007, 05:49:17 pm »

Yeah, right Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7114
Tags : cron Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: creating "remote" CRON jobs
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 13, 2012, 08:28:47 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.