running php scripts in backgound mode

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
dannymc1983
Forum Commoner
Posts: 80
Joined: Wed Feb 16, 2005 7:24 am

running php scripts in backgound mode

Post by dannymc1983 »

does anyone know of a way to run a php script executed in a command line prompt in background mode, ie. it is not visible to the user when it is executed. the reason i want to do this is because i need to run cron tasks of a particular php script but i dont want the dos prompt window to show up on the desktop every time the script executes as i have it set to executing every 15 mins and this would no doubt be extremely annoying for a user to see a dos window opening every 15 mins...
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

Somehow i have trouble believing that a user will see HIS/HER prompt window being opened for a cron job ?!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

there's no reason to create a new topic. :?
Locked