Results 1 to 2 of 2

Thread: how to setup a scheduler service in ubuntu

  1. #1
    Join Date
    Jan 2006
    Location
    India
    Beans
    101
    Distro
    Ubuntu 8.04 Hardy Heron

    how to setup a scheduler service in ubuntu

    hello friends,
    i am creating an intranet application in cakephp for my company. its hosted in ubuntu lamp server. i want to send a reminder mail to the employees at 4pm each day. how to setup this in ubuntu server. currently this system is working in a windows system, there we have setup a windows service. now we are migrating to cakephp and lamp. am using ubuntu 8.04. plz help me if anybody have any idea about it.
    thanks
    jittos....
    Find all your favourite Ubuntu articles...
    http://www.hallowdemon.net

  2. #2
    Join Date
    Sep 2006
    Beans
    67

    Re: how to setup a scheduler service in ubuntu

    Do you want to run a php script at a particular time each day, and have php send the email?

    If so, you want to set up a cron job that does this. For example, you might run:

    Code:
    crontab -e
    And create a new entry such as:

    Code:
    0 16 * * * /path/to/script/myphpscript.php

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
  •