SUPPORT TOPIC File Information
- Submitted: Apr 22 2011 12:13 AM
- Last Updated: Apr 22 2011 12:13 AM
- File Size: 4.86KB
- Views: 3212
- Downloads: 61
- Supported IPS Software Version: 3.1.4
Download IP.Board Crontab Generator 1.01 Votes
This script won't disable the tasks in IP.Board, so you will need to do that manually if you wish. It should only add tasks that are currently enabled and not locked. If new tasks are added to the scheduler (in a future update, or if you install a new application), you will need to run this again if you wish to add them. Just be sure that you don't create duplicates!
Create a backup of your current crontab (use "crontab -l > cron_backup.txt" over SSH) as well as your files and database before using this script. Use at your own risk. If on shared hosting, check if your host has a minimum interval for cron jobs and modify the file accordingly, as IP.Board has tasks that will run every 5 minutes or even more often. You should have some knowledge of the Linux shell before using this script or cron jobs, as it has the ability to negatively affect your server's performance if used incorrectly.
If you run the script without any options, it'll create a text file named "ipb_crontab.txt". You can then reference this file to manually add the cron jobs via cPanel or "crontab -e" over SSH. This is the recommended usage.
The script supports adding the cron tasks for you (with "?execute=yes"), but I highly recommend adding them manually to be on the safe side. If on shared hosting, you should definitely check with your host before using this method, as it uses PHP's exec() function, which some hosts may consider a security risk. Again, this is not recommended. Absolutely do not run the script more than once (ever) if you use this method, as it will create duplicate tasks in your crontab, which can hurt the performance of your server and run tasks too often. If you do use this method, check your crontab afterwards to ensure that everything looks okay.
After Usage (Security):
After you are done using this script, delete or move the ipb_cron.php and ipb_crontab.txt files, as leaving them would be a high security risk. (Depending on how you ran the script, ipb_crontab.txt may have been automatically deleted.)
Other files you may be interested in ..
66 user(s) are online (in the past 30 minutes)
24 members, 41 guests, 0 anonymous users
Google (1), +Andrea Caso, +surferboy, +Amilo, +mardiv, +dokdok, +Nyborg, +Brandon D, +HideousZombieF, Janyour, +ptprog, +GreenLinks, Adr1an, +Lucky Star, +forum-olympus, +AVSIM.com, +matama_1, Alvi.?, +andavis, +Dyon, +Shaydx, +GaryJames, All Cars Online, +Leeuw, +Ovunc Dinc