+ Reply to Thread
Results 1 to 3 of 3

Thread: Weird cron job problem

  1. #1
    musicdevil
    Guest

    Weird cron job problem

    So I have a cron job to run a rss2html php script to create an output file of static html.



    It used to work, but it suddenly stopped and I dont know why. I use hostmonster, for the record.



    Anyway, that it the basic background information.



    The cron job code it:




    Code:

    usr/bin/php -f /home/swaythev/public_html/missionenvironment/news.php > /home/swaythev/public_html/missionenvironment/news.html

    I just realized that the cron job DOES create the output file, but it is completely empty. Anyone know why? My host is absolutely no help.
    More Information:
    1. One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and
    2. 15 posts - 3 authors - Last post: Aug 15, 2009The problem with the double quotes is also the reason why the crontab
    3. I can run the cron job manually and then it works fine and creates the stats, but it doesn't seem to get carried out by cron, the stats always remain at that date I last ran it
    4. There are very few applications that need cron jobs to be run exactly once
    5. Always let ttytype figure out the terminal type, and always bypass ttytype (and tabs, tset, stty, etc) if there is no real terminal (ie, a batch or cron job)
    6. The main problem with cron jobs is that if they aren't
    7. It's too weird for me, I'm not able to solve this problem

    More:


  2. #2
    Phuong Thu
    Guest

    Did the PHP version changed?

    Is the RSS feed you use maybe got down? You should try to visit the news.php file via webbrowser to see whether or not it gives an error or blank page?

    Could you PM me the file contents?
    More Information:
    1. Hi all, I've got a problem with Scheduled Postings and Cron Jobs
    2. the script so it's only refreshed on a cron run, I find it a little weird that the writer of the software has never setup a cron job
    3. 10 posts - 3 authors - Last post: Dec 23, 2007Weird pop email problem - comcast with outlook
    4. 13 posts - 10 authors - Last post: May 4I have setup the cron job through cpanel and I am getting confirmation every hour, however, the newsletters aren't sent out
    5. 3 posts - 2 authors - Last post: Jun 2, 2009I happen to have a weird problem on one of my virtual machines with ispconfig 2
    6. This same setup is used for all of our cron jobs and it resolves all of our library issues with cron except apparently this one
    7. I had a cron job running 4 times a day from "Cron Jobs" in cpanel using

+ Reply to Thread

Similar Threads

  1. Cron Problem
    i have a cron problem today i noticed all my crons dissapeared from crontab -l (crontab for my user) no problem , i put the crons again there...
  2. Weird problem using CDO.Message on IIS6
    Hi All, I have an ASP 'Contact Page' which is a form that users can fill in to send the relevant person an email. I have been using the same...
  3. Weird HTML email problem
    Before i was receiving emails from my host in normal html , now i receive them in this kind of format Quote: Content-type:...
  4. Very weird FTP problem
    Wow, this one really has me confused. I am trying to download all my images so I can optimize them. When I check my image folder properties with...
  5. a weird link problem- please help
    [url= if you click on the ad, sometimes it'll go to the url. but other times, it'll open the new page INSIDE the frame. I can't seem to figure out...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish