SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    May 2005
    Location
    London, ON
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question about Cron Jobs

    Hello,

    I've just started to use Cron Jobs. Now I have got them set up and running easily enough, but I was wondering if there was a away to get any output sent to me some how?

    Obviously I could write it all to a file, or have it email me using the mail() function but when I was setting them up I remember it asking me an email to send information to... is there something special I need to do in order to get this to work?

    Thanks
    Ryan Price
    Subscribe to my blog for regular tips and tricks

  2. #2
    SitePoint Evangelist hexburner's Avatar
    Join Date
    Jan 2007
    Location
    Belgium
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Usually you can use the mail() function without having to apply settings or whatever anywhere, but it's possible your hosting provider needs to set the SMTP settings in php.ini

    I would ask this question to your hosting provider, that would be the first thing I'd do.

    If you want to be sure it doesn't work, just test it by sending a simple plain text e-mail to yourself using the PHP mail() function.
    FOR SALE: 1 set of morals, never used, will sell cheap


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
  •