The pimpliest problem is i wish to load a code after XX seconds, the biggest problem is that i don't really wish to run the sleep function. Why not? The software should auto post some news on my twitter account, and it will be a pain in the ... to calculate how much sleep after each executed job. I would like to do soemthing like [/code] twett($account1,$password,$messange1,IN_HOW_MANY_SECONDS1); twett($account2,$password,$messange2,IN_HOW_MANY_SECONDS2); twett($account3,$password,$messange3,IN_HOW_MANY_SECONDS3); twett($account4,$password,$messange4,IN_HOW_MANY_SECONDS4); twett($account5,$password,$messange5,IN_HOW_MANY_SECONDS5); [/code] The sleep function will really not work for me!
Sorry if I'm not understanding why sleep will not work for you. Maybe would it work better to make a cron instead?
I'm not sure why the sleep function will not work for you either? Maybe use the function time_sleep_until()
Or if timing is THAT crucial, write a script to time how long the tweet takes and sleep xxx-time taken.