Unresponsive and long crone job can kill your website
#1
Posted 05 February 2012 - 09:24 PM
I didn't realize how bad can this be, but it made a major damage on traffic specially from Google.
I fixed the error today, and my traffic start getting back to normal.
Be careful with these crone jobs they can cause serious damage with Google if they are not functioning well.
#4
Posted 08 February 2012 - 08:14 AM
Cron jobs are scripts that do specific tasks on your website. For example, you want something marked completed after x number of time, this will be called cron job.
Also, if you familiar with setting up things like Payments (using Paypal as an example), to know that somebody completed the payment before your process the order.
#5
Posted 08 February 2012 - 02:32 PM
OneGoodMan, on 08 February 2012 - 08:14 AM, said:
Cron jobs are scripts that do specific tasks on your website. For example, you want something marked completed after x number of time, this will be called cron job.
Also, if you familiar with setting up things like Payments (using Paypal as an example), to know that somebody completed the payment before your process the order.
But a cron job wouldn't (and shouldn't) be running when each page loads, or when you reference an external script on a webpage.
Paypal doesn't a cron job either - it's uses something IPN - essentially a script on your site paypal posts payment info back to9 after a payment has been made.
#6
Posted 08 February 2012 - 06:46 PM
rallport, on 08 February 2012 - 02:32 PM, said:
Paypal doesn't a cron job either - it's uses something IPN - essentially a script on your site paypal posts payment info back to9 after a payment has been made.
tasks that require timely update will require cron job, for example : a job should be marked deliver or late after x number of days (these jobs usually are require load on the page).
I used PayPal as an example for payments but it is not the case with other websites (I personally using 3 payment gtes on one website).
My main point is that scripts and cron jobs that takes long time (too long to response), will affect your website ranking on websites like Google, so make sure to avoid them and reduce the response time on the page
#7
Posted 08 February 2012 - 07:23 PM
#8
Posted 08 February 2012 - 07:50 PM
zed, on 08 February 2012 - 07:23 PM, said:
The search engine bot is concerned about your page load. let us say it would take 3 seconds to load, that will affect your website ranking.
Scripts and cron jobs are not the issue but the load time is. If you got a broken one or unresponsive in any page, check web page optimization and you will see it goes for seconds
#9
Posted 08 February 2012 - 07:55 PM
#10
Posted 08 February 2012 - 08:17 PM
I am trying to explain the damage could be caused by ignoring the crone job timing.
#11
Posted 08 February 2012 - 09:50 PM
Behind the scenes of my little job hunting project a similiar process takes place with a cron job banging away at a fetch_data script and the output is stored in the database.
When a results page is initially loaded the stored content is shown but an AJAX call also fires the same fetch_data script and when that comes back with the most recent data a few seconds later this gets swapped into the page for the human visitor to see (& database gets updated).
If googlebot runs over the site a server side trip goes off and calls the same fetch_data script. We then decide if the bot gets fed the existing stored content or is forced to wait for the new data thus controlling what google percieves as the loading time.
That all may seem a lot of messing about to display dynamic content but has several advantages;
1.Visitor is happy because they had something to look at while waiting.
2.Google is happy because it finds almost fresh new content & a quick load time.
3.If the cron job or fetch_data script ever fail the site would still function for visitors by showing the last lot of information.
This post has been edited by Sogo7: 08 February 2012 - 09:52 PM
#12
Posted 09 February 2012 - 07:09 PM
OneGoodMan, on 08 February 2012 - 06:46 PM, said:
* shakes head, self face palms, lets out huge sigh *
That's one of the most incorrect statements I've read in this forum for a while. Someone needs to remove that as it;s just plain incorrect lol.
EDIT: just had a look at one of my bigger ecommerce sites hosted on a VPS. I have a cron job running every 5 mins that takes on average 10 seconds to run. Pages load almost instantly and there are no issues with site speed at all. Maybe if you're hosting your site yourself, on your neightbours wireless network, on a 2 Meg internet connection on a 486, then you'd get slow down if multiple thikngs were happening at once.
This post has been edited by rallport: 09 February 2012 - 07:13 PM
- ← eCommerce Search Results
- SEO (Search Engine Optimisation) & Search Engines
- 301 redirect v/s Canonical →
Help


















