SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Bangladesh
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    scheduling without cron job PHP

    Hello,

    Can I be able to write a scheduler without cron in PHP?

    Thanks,
    Rashidul

  2. #2
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi.

    I don't know a lot about that, but about putting some code in a file that it is included at the top of all pages of the site, that code should check the time with the needed job, for example if you want to edit a content of a file at 10:00, that code should check the time with every request if it is >= 10:00: edit the content of the file!

    That way the file content may be edited at the time or after it, but nobody can feel that as the first request in a time >= the needed time will make the needed job!

    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
  •