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 ? Quote Link to comment Share on other sites More sharing options...
trq Posted April 14, 2008 Share Posted April 14, 2008 include(). Quote Link to comment 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 Quote Link to comment 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(). Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.