raimis100 Posted April 14, 2008 Share Posted April 14, 2008 I have 2 scripts which I need to run . How can I make the script to call another script ? Link to comment https://forums.phpfreaks.com/topic/101073-call-another-script/ Share on other sites More sharing options...
trq Posted April 14, 2008 Share Posted April 14, 2008 include(). Link to comment https://forums.phpfreaks.com/topic/101073-call-another-script/#findComment-516824 Share on other sites More sharing options...
raimis100 Posted April 14, 2008 Author Share Posted April 14, 2008 Since my hosting provider does not support cronjobs then I decided to make a scripts to bounce off of each other. File 1: Run the target script wait 10 seconds and call File 2. File 2: Run target script wait 10 seconds call File 1. I need a function which could call the next file and then execute Link to comment https://forums.phpfreaks.com/topic/101073-call-another-script/#findComment-516829 Share on other sites More sharing options...
trq Posted April 14, 2008 Share Posted April 14, 2008 Since my hosting provider does not support cronjobs then I decided to make a scripts to bounce off of each other. You might take a look at putting a script in the background via exec(). Link to comment https://forums.phpfreaks.com/topic/101073-call-another-script/#findComment-516834 Share on other sites More sharing options...
raimis100 Posted April 14, 2008 Author Share Posted April 14, 2008 Will try to search for it , thnx Link to comment https://forums.phpfreaks.com/topic/101073-call-another-script/#findComment-516838 Share on other sites More sharing options...
GingerRobot Posted April 14, 2008 Share Posted April 14, 2008 A host that does support cronjobs may well not allow use of the exec() function though. Link to comment https://forums.phpfreaks.com/topic/101073-call-another-script/#findComment-516868 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.