apw Posted April 20, 2009 Share Posted April 20, 2009 Hello i have a cron time running and executing my php script every x-minutes but is there a way i can have a php script actually tell me how much time is left before the script runs Quote Link to comment Share on other sites More sharing options...
trq Posted April 20, 2009 Share Posted April 20, 2009 No. Quote Link to comment Share on other sites More sharing options...
apw Posted April 20, 2009 Author Share Posted April 20, 2009 Dang ok .. What would be another way of doing this use the php time/date .. ? Quote Link to comment Share on other sites More sharing options...
trq Posted April 20, 2009 Share Posted April 20, 2009 Im not exactly sure what you want to do. If your looking for a timer, you will need to use something client side, not php. Quote Link to comment Share on other sites More sharing options...
Mchl Posted April 20, 2009 Share Posted April 20, 2009 I'm thinking... Each time scheduled script runs, make it update a file or a database. Then you can have another script, that would check how long has passed since it was run... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.