Cron Jobs Not Running Then Running Off And On.. - Cron jobs have a problem

free web hosting
Free Web Hosting > Astahost > Hosted Members Support > cPanel

Cron Jobs Not Running Then Running Off And On.. - Cron jobs have a problem

Mark420
Hi ,

It seems that Vyoma and I are the only people trying to use the Cron job service on Gamma..we posted requests back in November about this but it is still a problem..
Last week I went back into cpanel and activated the cron jobs I have running..these crons run a Joomla component that uses RSS to import feeds and publish them on my front page as new items..Also I use cron to "try" to backup my sites..
I know my syntax is correct and it should be running..but it doesnt.."GET http://soundofthesuburbs.astahost.com/Cms/...n.feedgator.php >> /dev/null" is the command i try to run..
I tried and tried with different time settings and eventually gave up leaving it to run every 5 mins..
Days later they suddenly started to run again..heres the output email..
"START Feed Gator Import Processing: Sat January 13, 2007, 21:25:05 GMT" then every 5 mins since then its been working and sending me mails to confirm it..
I have changed the time schedule on the cron now to run every hour and I will edit and post up if this works..
Can an admin look at the logs and see what happ to Gamma at that time? my guesss is a reboot, and then try to see why this has been so "off and on" for months now..my guess is the Cpanel upgrade months ago..

Thanks!!

Mark420 wink.gif




 

 

 


Reply

BuffaloHELP
Cron job takes a toll on server resources and backing up your account frequently can be seens as risky by server admins.

For backing up your account, please perform it perhaps one a week and when you have the least traffic to your site.

For executing your script see if you can optimize your steps and perform at the lowest server traffic time--usually around 1am in GMT time.

UPDATE

I ran 10 cron jobs to backup my account and they all ran without problems. Although I have not received the email notification for them I have to say the cron job is functioning fine.

So I will have to go with the answer, "run it during the least busiest hours" to avoid manual termination by server admin. That's the only answer I can think of at this time.

Thanks.

Reply

vizskywalker
QUOTE(mark420)
Can an admin look at the logs and see what happ to Gamma at that time? my guesss is a reboot
If you log into cPanel, on the left, towards the bottom, you can see the Last reboot. Since it is currently at 2 days 10:25 hours for gamma, I think your guess about a reboot is correct.

~Viz

Reply

Mark420
Sorry but my backup backs up a MySQL db and zips it up and sends it to me..its 61kb big!!
So I dont think this is putting a strain on the server..

My RSS feed importer should be running once an hour (I set it to 5 min to prove that it doesnt work) and when it runs it imports bytes not kilobytes or megabytes but bytes...its text headlines to news stories and a link..so again I dont think this is putting the server under strain..

Also I can still not explain why this cron has been set for months without running then suddenly starts running again after a server reboot.
Also I cannot understand why my cron job was deleted from my cpanel when I checked before I went to bed last night..I had to set it up again..

Vyoma..you still having probs with your crons???

Marky;)

Reply

BuffaloHELP
QUOTE(Mark420 @ Jan 16 2007, 05:51 AM) *

MySQL db and zips it up and sends it to me..its 61kb big!!

The final size may be small, but to perform the execution it takes CPU usage...right? That's what I mean by the server resource. The larger and complex the database may be, the higher CPU usage and memory usage to zip it.

But anyway, that still doesn't explain your cron job disappearing and you had to set it again. And since the last cPanel upgrade few things were back to working, such as "unlimited" value set for sub-domain numbers. So that might hint that during the cpanel upgrade all cron jobs might have been suspended to protect the data.

I am sorry to say if this will be a priority but I will have OpaQue respond to this topic as soon as possible.

Reply

Vyoma
QUOTE
Vyoma..you still having probs with your crons???

Ok. I checked it up.

My cron run seems to be running ok now. But this past week, I have seen my Drupal logs, and there are a handful of instances (about 6 or 7) where it reports that the cron run was not completed.

Back when I reported this, the cron just would not respond for weeks together, and all of a sudden work for couple of days, and back to not working. It used to do that back then but now, it seems to run properly most of the times.

Reply

Mark420
Sorry buffalo I should have mentioned that the MySQL backup job only runs once a day at 5am Eurotime.

Its the RSS one that runs once an hour.

Yes Vyoma the stopping and starting is whats been happ to me since November..when the cpanel was upgraded ;(

Still some bugs to be ironed out with it I think l;(


Reply

BuffaloHELP
Hopefully OpaQue can shed more light into this situation. Please hold until OpaQue has the chace to reply smile.gif

Thanks.

Reply

OpaQue
CRONS were always active on GAMMA, no doubt about that.

However, on Gamma the PHP rules are a bit strict for security reasons. You were using GET method to call your scripts which are sometimes used for leaching contents of other sites.

After a server update, that restriction might have been removed. Its just a tiny issue of security settings being over written.

I am happy that your crons are working now :-)

Thank You.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. feed gator zip rss cron - 307.29 hr back. (1)
Similar Topics

Keywords : cron, jobs, running, running, cron, jobs, problem

  1. Free Web Hosting: (running With Scissors)
    Free Website: <runnerstrail.astahost.com> (1)
  2. Is It Possible To Make Php Scripts Executed Without A Cron?
    (2)
    Title says it all really. Just wondering if it's possible in an way? If so could anyone tell
    me?....
  3. Get The Current Running Machine Ip-c/c++ Coding
    (2)
    There are many ways to get the current machine ip in c/c++ coding. I prefer to use
    gethostbyname(*hostname). But the issue with this is we need to pass hostname to get the IP address
    of the machine. Is there any other alternative solution to get the current machine IP without
    knowing the hostname?. It works fine in windows as we can pass a null pointer in place of hostname
    then gethostname() will return the IP. But same will not work in Linux, it will give segmentation
    fault. If you have any suggestion please let me know. ....
  4. Designing A Summer Running Program
    For (mostly Highschool) XC/Track Athletes (1)
    Alot of Cross Country or distance Track and Field runners will often ask how they can improve their
    times more. One of the best ways and times to do this is through good training in the off-season.
    In this guide I will try to answer many questions and give help to runners that may just be
    beggining to run distance, or have been running distance but have not yet reaped off-season training
    for its amazing benefits. Easying Into Things If you are nearing your summer training and
    ran during the recent track season you should begin by taking a break. The time var....
  5. Problem With Acdsee
    is default application (4)
    A girlfriend has a problem with ACDSee (for Pentax). For some reason it has been set as the default
    application for opening folders, so everytime a folder is clicked, ACDSee opens. If already tried to
    fix the file association (changing the default action, adding a new action that opens explorer, but
    it won't work /huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif"
    /> ). I've also tried to untick the "browse with acdsee" option in ACDSee, but it doesn't
    remember this option. How can I fix this ?....
  6. Problem With Move_uploaded_file()
    Permission denied? (5)
    CODE Warning: move_uploaded_file(images/profile/Mordent.jpg)
    [function.move-uploaded-file]: failed to open stream: Permission denied in
    /home/mordent/public_html/withvalour/edit_image.php on line 42 Warning:
    move_uploaded_file() [function.move-uploaded-file]: Unable to move
    '/tmp/phpOWVz7o' to 'images/profile/Mordent.jpg' in
    /home/mordent/public_html/withvalour/edit_image.php on line 42 Any ideas? The code seems fine,
    as it works a treat when I run it locally (on WAMPServer), but as soon as I tr....
  7. Administrator Account Problem In Microsoft Xp [solved]
    I have lost "my documents" (20)
    I have problem with administrator account ... I created new administrator account with this way:
    start /control panel /account users/new account and than I created a new one ; after this I turned
    off computer . I wanted to have two skypes turned on and my friend suggested me to do so... when I
    turned it on the second day , I coudn't enter with the first administrator ,and I entered with
    the administrator that I had created . I have lost my document folder.. please help me . how can I
    enter or can I enter with that first administrator account?? Can my documents be ....
  8. Problem With Purchase Credits Page
    Problem with Purchase Credits Page (7)
    I was trying to checkout the Purchase Credits section, today, and found a dead end to 404.
    http://www.astahost.com/purchase_credits.htm I was using the link from the menu above ->
    Credits\Purchase Credits Need to buy some credit, I'm really busy lately with my work, not
    much time to keep track of post. Btw, I have a question here too. I seems that if I'm inactive
    for a while, like not posting for a few days, the email alert for new post will not come anymore. Is
    it a feature or a bug?....
  9. A Gaiaonline Problem
    A problem i want to stop (9)
    I have a problem getting on Gaiaonline. When I go it always says "SLOW DOWN Slow down,
    hotshot! You've been loading pages too fast, and our system doesn't like it. Take a
    break for a few minutes so we can catch up! This is not a ban. Come back in a littlw while,
    ok?" and I want it to stop! So can anyone please help me out here?....
  10. Trojan / Virus Problem ,please Help
    might be (hoon) (18)
    I have been infected with atrojan but i can detect it. and i have detected Hoon trojan and deleted
    it ,but the symptoms of the trojan is still on my pcs network " all driver have an autoplay (right
    click by mouse) and it gives my this message by d-click on any driver ************** SYS.EXE
    QUOTE windows cannot find 'sys.exe',make sure you typed the name correctly and then try
    again.to search for a file ,clicl the start botton then clicl search the virus was detected and
    deleted from all drivers: C:\sys.exe D:\sys.exe E:\sys.exe F:\sys....
  11. Fedora Core 6 Install Problem
    (6)
    I have tried three times to get Fedora Core 6 to install but I keep getting the same error message:
    “there was an error running your transaction, for the following reason(s): file conflicts”. I am
    using all of the default settings except changing the time zone and basically installing all
    packages. The error always happens near the end of the fifth disk. I have run sha hash checking on
    all media and everything checks out. Has anyone had this problem or a possible solution?....
  12. Internet Explorer 7 Problem
    Works fine in Firefox! (Shocker) (8)
    Hey, I'm helping my mom with one of her web projects for class and I've noticed a pretty
    big problem (no thanks to IE7) that cost her a few points. It won't load an image of an email
    icon, however, Firefox will load and display it properly. Here's the line for the image: CODE
    <img src="nationalparks/images/email.gif" width="99" height="100"
    border="0" alt="Email" /> Also, IE7 complains about some ActiveX content,
    but this is just a basic page and NO JavaScript, NO Java applets, NO ActiveX of any ki....
  13. Win Rar Password Problem
    (7)
    i have some trouble with some winrar files password the files is for an ISO and iam trying to remove
    the password because some files has a different password i have tried to change the password but no
    luck ...i used set default password and no luck too if any1 have any idea please post it thanks in
    advance -joe....
  14. Problem With Drag And Drop (or So It Seems).
    (11)
    I'm running on Windows XP with Service Pack 1. The last few days, all of a sudden, the drag and
    drop functionality of explorer (or anything on the operating system that uses system calls in order
    to perform it) screws up completely. I attempt to drag it, and it just flickers a bit to the
    direciton I'm moving it and then fails. It doesn't seem to be the mouse as I can still drag
    a rectangle selection to select multiple files etc, just no drag and drop. However, it isn't
    always like that, it works generally (as far as I know) and stop working out of now....
  15. Frustrating Problem With XP On Laptop
    (19)
    I have my Dualcore AMD Acer laptop, 5102Wlmi, with a 120GB hd, 2 GB ram, etc. I had a friend buy it
    in the states and bring it over just 2 months ago. All of a sudden, the other day when i went to
    turn it on, it would bring up the xp boot screen, and then just hang there. I tried a different hard
    drive. no luck. I tired installing XP, but after booting from cd and loading all the drivers, right
    after the FAT and NTFS drivers, it says "Setup is loading Windows" and then it hangs there. I've
    left it overnight and in the morning it's still in the same place. I can&#....
  16. Spam Problem On My Forums
    (25)
    I’m starting to have a real problem in my forums. Apparently “midget anal porn” is the hottest new
    thing. I didn’t think midgets were into that kind of thing but apparently I’m wrong (apologies to
    any midgets out there). I knew that spam may be a problem on my board but I didn’t think that I
    would be a target just yet. I only have 16 registered users (including the spam bots). How in the
    world did they find me? Just like junk mail I figure this problem is only going to get worst since
    I am now apparently on the list. Does anyone have a solution to this problem? I....
  17. Blue Screen - irql_not_less_or_equal
    computer OS Windows problem booting (29)
    Hi , My computer AMD64 256mb RAM / 80GB HDD / Windows XP Professional recently started showing a
    blue screen while starting .. QUOTE A problem has been detected and windows has been shut down
    to prevent further damage to your computer . IRQL_NOT_LESS_OR_EQUAL (blah blah blah ... )
    Technical Information: *** STOP: 0x0000000A (oxFB07D354, ox000000FF, ox00000001, ox804E2E41)
    Initially, if I restarted it would not come the next time. It used to come only randomly. But
    later it started coming more often, and now it did not start for quite a few times con....
  18. Problem With The ReadOnly Property
    (3)
    I have a problem setting the readonly property of a textbox which depends on a yes and no radio
    buttons selection, I'm sure that my code is correct but i dont know why nothing happens. This is
    code: CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML> <HEAD> <TITLE> New Document </TITLE> <script
    LANGUAGE="JavaScript"> <!-- Begin function changeRadio(sVal) {     if
    (sVal=='n')     {         a.textval.readonly=true;         a.texval.value="&#....
  19. Laptop Overheating
    Problem with Dell 600m (15)
    One of my friends has a Dell 600m which he bought around the same time as me. We pretty much have
    the exact same specs, but my processor and video memory is a little better. He has been having
    problems since the time he got the laptop with it overheating to the point of it locking down.
    I'll agree that the Dell 600m's from the Summer of 2003 will get way too hot for normal
    laptop use. My laptop has only locked up once or twice for me because of it overheating, but his
    computer will lock up every time he doesn't have it on a cooling pad. And even then the....
  20. Running Vba Script In Excel
    (6)
    Hi, I need help. Im generating a excel file using jakarta poi. I have added a vba to my excel
    template so that it creates a chart on file open using the data populated using the poi map. Now
    this works fine in a windows machine. But on a linux machine the vba does not execute. I need to
    release my prod in linux too and im losing time. Is there any workaround for this???? Thanks in
    advance Karthik....
  21. Need To Hack An Admin Account On Xp... No Problem!
    It's so easy to hack an account you'll be amazed (61)
    Well recently one of my good girl that is a friend got a laptop from her dad. Her dad does websites
    so the laptop was new and worked fine, but needed to be defraged. The one problem, her nor her dad
    knew the admin password. I told her to post her question on Trap 17 and it got answered with in
    minutes. All you have to do is these few steps: 1. Reboot 2. Before the windows logo comes up press
    F11 (Just start clicking it over and over again until the windows logo comes up.) 3. Just sit and
    let it do it's thing and when the login screen comes up click on the Admin icon....
  22. Photoshop Cropping Problem
    (6)
    All right. For most of my Photoshop work, I use Photoshop 6.0. Yes, I know it's old, but it
    gets the job done, not to mention I just don't have the money of Photoshop CS or Photoshop CS2
    right now. But I'm getting off topic. Anyways, a few months ago, when I went to crop a
    picture, it wouldn't crop all the way. It would crop to a certain point and then just stop and
    refused to go any further with the cropping box. It seems to only form squares and sometimes
    horizontal rectangles, but only to a certain extent. However, when I opened Adobe Photosho....
  23. XP Problem: Clicking On Folder Opens Search
    (4)
    I have no idea why, but for some reason whenever I click on a folder now it opens it as a search
    instead of just showing me the contents. Whenever I right click it, search is at the top of the tab
    in bold instead of open. Is there any way I can fix this? I have no idea what I did wrong. Sorry,
    I fixxed it.....
  24. Einstein Quiz
    Can you solve this problem? (29)
    Hi everybody; I want to ask the quiz written by Einstein last century.It is called Einstein's
    Riddle.Einstein said that 98% of the people in the world cannot solve his riddle. Are you among the
    other 2%?(Hint:It is really easy:) Hints: 1: There are 5 houses in 5 different colors 2: In each
    house lives a person with a different nationality. 3: These 5 owners drink a certain beverage, smoke
    a certain brand of cigar and keep a certain pet. 4: No owners have the same pet, smoke the same
    brand of cigar or drink the same drink. Further Details: a: The Brit lives in a re....
  25. Status Bar Effect
    Have your own text running in the status bar (5)
    Insert this code into the head of your page and the second script in the body tag of your page
    CODE <script LANGUAGE="JavaScript"> var speed = 50 var pause = 2000 var timerID =
    null var bannerRunning = false var ar = new Array() ar[0] = "This template was
    designed by solutions4u and for more templates please do visit www.solutions4u.co.nr" //Change
    var www.DesignerWiz.com bannerRunning message var currentMessage = 0 var offset = 0 function
    stopBanner() {     if (bannerRunning)     clearTimeout (timerID) ....
  26. Problem Deleting Empty Folder In Win XP
    why you can not delete an empty folder? (13)
    It happened to me several times. When a folder is already empty, but still can't delete it.
    Which says something about other user is using it. Yet I am the only user on my PC. Anyone knows why
    is it? And how to deal with it?....
  27. Problem: I Need Urgent Help. Can't Boot.
    (9)
    Hi all. Thanks for reading this, and helping me... /unsure.gif' border='0'
    style='vertical-align:middle' alt='unsure.gif' /> I have a big problem - I must fix one computer
    for one of my important clients, but, everything seems to be fine, until you turn it on (really
    /rolleyes.gif' border='0' style='vertical-align:middle' alt='rolleyes.gif' /> ) ehm, anyway, when
    computer is turned ON, it boots and when it comes to login screen just blocks, and freezes, and
    there's nothing to do there. Sometimes I can manage to click on user to login, but then freezes
    again. .....
  28. Mozilla Firefox And Runescape
    Problem I had with FFox and RScape. (10)
    When I tried to play Runescape in Mozilla's Free browser (Firefox), I couldn't. However,
    when I tried to play the game in Microsoft Internet Explorer, I could. It may be possible to play
    Runescape in Firefox by altering Firefox's settings, or it could just have been me or chance or
    something that caused me to have a problem.....
  29. Error 406 - Problem In My Phpbb Forum
    Actually a problem with Apache (8)
    When I post the message in my forum contant the word "system" it can't work and said the HTTP
    error 406. I add three Mod : attach mod 2.3.11 , cash mod 2.2.2 , pay money mod 1.0.7 phpBB
    verison 2.0.12 my forum http://siuwing.astahost.com/testmod and then I also setup a model forum
    by cPanel , the error of posting also occur -> http://www.siuwing.astahost.com/testmod2/ the
    model forum havent adding any mod what is the problem ...? /sad.gif' border='0'
    style='vertical-align:middle' alt='sad.gif' /> ....
  30. Cron Jobs Tutorial
    So you wanna learn Cron jobs huh ? (3)
    How to setup Basic Cron Jobs. Ok. Many people are yelling that they cannot configure the
    crons properly. Here is a short tutorial which will help you set them. I have tried my best to
    explain the concept but there can be more advanced configurations. Basically you will want to run a
    PHP script file in specific intervals. Suppose you want to execute a php file called maintanence.php
    every one hour. This is what you do :- The CRON Command is in the Following Format CODE
    [ Minute - Hour - Day - Month - Weekday ] - Command The COMMAND, can be bro....

    1. Looking for cron, jobs, running, running, cron, jobs, problem

Searching Video's for cron, jobs, running, running, cron, jobs, problem
Similar
Free Web
Hosting:
(running
With
Scissors) -
Free
Website:
<runnerst
rail.astahos
t.com>
Is It
Possible To
Make Php
Scripts
Executed
Without A
Cron?
Get The
Current
Running
Machine
Ip-c/c++
Coding
Designing A
Summer
Running
Program -
For (mostly
Highschool)
XC/Track
Athletes
Problem With
Acdsee - is
default
application
Problem With
Move_uploade
d_file() -
Permission
denied?
Administrato
r Account
Problem In
Microsoft Xp
[solved]
- I have
lost "my
documents
4;
Problem With
Purchase
Credits Page
- Problem
with
Purchase
Credits Page
A Gaiaonline
Problem - A
problem i
want to stop
Trojan /
Virus
Problem
,please Help
- might be
(hoon)
Fedora Core
6 Install
Problem
Internet
Explorer 7
Problem -
Works fine
in
Firefox!
(Shocker)
Win Rar
Password
Problem
Problem With
Drag And
Drop (or So
It Seems).
Frustrating
Problem With
XP On Laptop
Spam Problem
On My Forums
Blue Screen
-
irql_not_les
s_or_equal -
computer OS
Windows
problem
booting
Problem With
The ReadOnly
Property
Laptop
Overheating
- Problem
with Dell
600m
Running Vba
Script In
Excel
Need To Hack
An Admin
Account On
Xp... No
Problem!
- It's
so easy to
hack an
account
you'll
be amazed
Photoshop
Cropping
Problem
XP Problem:
Clicking On
Folder Opens
Search
Einstein
Quiz - Can
you solve
this
problem?
Status Bar
Effect -
Have your
own text
running in
the status
bar
Problem
Deleting
Empty Folder
In Win XP -
why you can
not delete
an empty
folder?
Problem: I
Need Urgent
Help.
Can't
Boot.
Mozilla
Firefox And
Runescape -
Problem I
had with
FFox and
RScape.
Error 406 -
Problem In
My Phpbb
Forum -
Actually a
problem with
Apache
Cron Jobs
Tutorial -
So you wanna
learn Cron
jobs huh ?
advertisement




Cron Jobs Not Running Then Running Off And On.. - Cron jobs have a problem



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE