View Full Version : post a thread with output of shell script
imported_silkroad
02-26-2009, 09:40 AM
Hello. Is there a simple mod anyone knows that we can run in cron that will take the output of a designated shell script and post the output as a thread?
Dismounted
02-26-2009, 10:19 AM
Do you allow PHP to run commands using exec()? (i.e. is it disabled in disabled_functions?)
imported_silkroad
02-27-2009, 08:39 AM
Yes, we can run exec with PHP.
Dismounted
02-27-2009, 08:59 AM
You can create threads using the vBulletin Thread Data Manager (see the manual, as well as the articles section). However, the best way to create a thread is by using build_new_post() (see how vBulletin does this in newthread.php).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.