Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Scheduled Tasks

  1. #1
    Regular Coder
    Join Date
    Apr 2007
    Location
    Griffith. Australia
    Posts
    138
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Question Scheduled Tasks

    Does anyone know a way I could control windows scheduled tasks and Linux CRON from my PHP application.

  • #2
    New Coder
    Join Date
    Dec 2007
    Location
    UK
    Posts
    41
    Thanks
    1
    Thanked 7 Times in 7 Posts
    You could use exec (http://uk2.php.net/function.exec) along with the windows command schtasks. That should work well.
    Remember if someone has answered your question then please use the 'thank user' button below their post.

  • Users who have thanked tonyyeb for this post:

    knightcon (01-21-2008)

  • #3
    Regular Coder
    Join Date
    Apr 2007
    Location
    Griffith. Australia
    Posts
    138
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Thanks Tony, I knew it would be something simple like that but for the life of me I couldn't think of the function I needed to use. It's working now.

  • #4
    New Coder
    Join Date
    Dec 2007
    Location
    UK
    Posts
    41
    Thanks
    1
    Thanked 7 Times in 7 Posts
    No probs mate
    Remember if someone has answered your question then please use the 'thank user' button below their post.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •