Feature requests » Bulk Link Check (multiple linkex instances)

added on Oct 5, 2008 by fsudirectory
Hey,

I know its been detailed here how to run a cronjob for a single instance of linkex to check the links, but I was
wondering if there was a trick to doing say.... 100 instances?

It would be a pain to setup all those crons manually and I am looking for another alternative, such as running a phpfile
via cron that calls all the instances with there... But I am just unsure how to code that file.

Any help would be appreciated

Thanks
added on Oct 6, 2008 by v0id
Hey there,

well make a simple text file having the commands you need to run in:

checklinkex.sh:
===============
#!/bin/sh

/usr/local/bin/php /path/to/your/linkex/index.php
/usr/local/bin/php /path/to/your/linkex/index.php
/usr/local/bin/php /path/to/your/linkex/index.php
/usr/local/bin/php /path/to/your/linkex/index.php


and in your crontab:
0 0 * * * /bin/sh checklinkex.sh


but don't run this too often of your server will be filled with running scripts :)

- v0id
added on Oct 7, 2008 by fsudirectory
thank you sir!


Ill just make several files as such and run them at random intervals

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.