- Installing and upgrading
-
- Installation overview
- General installation requirements
- Upgrading
- Installing on Ubuntu Linux
- Installing on Windows Server
- Installing on macOS
- Installing on CentOS Linux
- Installing on SuSE
- Configuring php.ini
- Configuring Apache
- Configuring the database
- OpenOffice / LibreOffice
- OpenCV (facial recognition)
- Alternative installation
- Upgrading PHP versions
- Setting up scheduled tasks/cron
- Backups
- User management
- Advanced user group options
- Customising ResourceSpace
- Plugins
- StaticSync
- Configuring ResourceSpace
-
- The config file
- E-commerce
- E-commerce and PayPal
- Offline job queues
- File integrity checking
- ResourceSpace file storage (filestore)
- Checksums
- Edit access for contributors
- Configuring Leaflet Maps
- Create Alternative Video Files
- Signing all database PHP code
- Integrating with Uppy Companion
- The System Configuration Page
Setting up scheduled tasks/cron
For ResourceSpace to send notifications and perform regular tasks your system must be configured to run pages/tools/cron_copy_hitcount.php regularly.
The task should be set to run at least once daily, but if configuration options such as $file_integrity_verify_window or $new_action_email_interval (version 10.3+) are enabled then the schedule should be adjusted to run much more frequently e.g. every 15 minutes, or even every minute.
Linux
To set up the cron job:
sudo nano /etc/cron.d/resourcespace
Add the lines below. The path to cron_copy_hitcount and schedule should be adjusted as required.
#!/bin/sh SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/15 * * * * www-data cd /path/to/pages/tools;nice ionice php cron_copy_hitcount.php
Ctrl+O, Ctrl+X to save and quit.
Windows
Using the Windows Task Scheduler utility:
- Action: "Start a program"
- Program/script: "path/to/php.exe"
- Add arguments: -f "path/to/pages/tools/cron_copy_hitcount.php"
- The user used must have the same level of access as the web server application pool user