Results 1 to 4 of 4

Thread: need help for cron

  1. #1
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default need help for cron

    i want to run a php file under cron after 25 OR 30 seconds.
    how can i setup that.

    Thanks
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: need help for cron

    What do you mean by after 25 or 30 seconds?

    Cron's (and at's) resolution is only to the minute.

  3. #3
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default Re: need help for cron

    The following command will run after 1 min.if i am not mistaken:
    */1 * * * *
    Is it possible to divide the min and run it after 30sec.
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: need help for cron

    You could sleep for 30 seconds and then run the job.

Posting Permissions

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