brownshoe Posted November 16, 2008 Share Posted November 16, 2008 Is there a way to make a php script that the server will run automatically at a given time, like, every Friday at 1:00 am? For example, I'm making a website, for entertainment purposes, and I'm think of adding a feature that simulates bank accounts for my users. One thing I would like is for everyone to get an automatic deposit to their accounts once a week. Can I do this with PHP? If so, how? If not, how CAN I do it? Thanks! Link to comment https://forums.phpfreaks.com/topic/132898-solved-making-stuff-happen-automatically-at-a-given-time/ Share on other sites More sharing options...
AndyB Posted November 16, 2008 Share Posted November 16, 2008 *nix server - cron - http://en.wikipedia.org/wiki/Cron windoze server - task scheduler - http://en.wikipedia.org/wiki/Task_Scheduler Link to comment https://forums.phpfreaks.com/topic/132898-solved-making-stuff-happen-automatically-at-a-given-time/#findComment-691068 Share on other sites More sharing options...
brownshoe Posted November 16, 2008 Author Share Posted November 16, 2008 Thank you! I think that's just what I needed to point me in the right direction. I'm kind of new to this whole thing, so I'd never heard of "cron" before. Link to comment https://forums.phpfreaks.com/topic/132898-solved-making-stuff-happen-automatically-at-a-given-time/#findComment-691086 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.