The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Executing php script every 30 seconds?
I currently have the following code in in a custom page which works fine executing a php script.
Code:
exec('php -q /path/to/file/getImage.php'); What I'm trying to do is get this to execute every 30 seconds while the page is loaded. I've tried something like this, but it wouldn't work. Code:
<script type="text/javascript"> jQuery(document).ready(function() { setInterval(function() { jQuery.get('/path/to/file/getImage.php'); }, 30000); }); </script> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|