SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: cron command?

  1. #1
    SitePoint Enthusiast microair's Avatar
    Join Date
    Oct 2001
    Location
    My Computer
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cron command?

    I need to run an PHP file every day on my server...
    so i can use cron command for that...

    but how do i do that, whats the syntax
    do i, as a server user have access to it... i have access to my ssh account...

    till now what i have figured out is

    cron 00*** php somefile.php

    but it doesn't run ... how do i do that?

  2. #2
    SitePoint Enthusiast wot-Mike's Avatar
    Join Date
    Oct 2001
    Location
    Netherlands
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found this page just half a day ago. It's a simple, but very nice crontab tutorial:
    http://weather.ou.edu/~billston/crontab

  3. #3
    SitePoint Enthusiast microair's Avatar
    Join Date
    Oct 2001
    Location
    My Computer
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    thanks

    hey that really helped, thanks


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
  •