phpfan101 Posted December 12, 2009 Share Posted December 12, 2009 Is there any way that you can use pure php, no database or crons, to do an action every day? Link to comment https://forums.phpfreaks.com/topic/184835-no-database-no-crons/ Share on other sites More sharing options...
rajivgonsalves Posted December 12, 2009 Share Posted December 12, 2009 you could create a daemon http://www.php.net/manual/en/ref.pcntl.php Link to comment https://forums.phpfreaks.com/topic/184835-no-database-no-crons/#findComment-975730 Share on other sites More sharing options...
phpfan101 Posted December 12, 2009 Author Share Posted December 12, 2009 doesnt that only work for linux users? Link to comment https://forums.phpfreaks.com/topic/184835-no-database-no-crons/#findComment-975733 Share on other sites More sharing options...
rajivgonsalves Posted December 12, 2009 Share Posted December 12, 2009 it should work for windows too, its similar to the windows services Link to comment https://forums.phpfreaks.com/topic/184835-no-database-no-crons/#findComment-975734 Share on other sites More sharing options...
phpfan101 Posted December 12, 2009 Author Share Posted December 12, 2009 but macs? other users? I was really hoping there was a code in php, that could go right in a .php and run smoothly... Link to comment https://forums.phpfreaks.com/topic/184835-no-database-no-crons/#findComment-975736 Share on other sites More sharing options...
rajivgonsalves Posted December 12, 2009 Share Posted December 12, 2009 it will run on all systems as long as php is installed and the process control library. Link to comment https://forums.phpfreaks.com/topic/184835-no-database-no-crons/#findComment-975737 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.