Kanboard provide a simple command line interface that can be used from any Unix terminal. This tool can be used only on the local machine.
This feature is useful to run commands outside the web server by example a huge report.
- Open a terminal and go to your Kanboard directory (example:
cd /var/www/kanboard
) - Run the command
./kanboard
$ ./kanboard
Kanboard command line interface
===============================
- Task export to stdout (CSV format): ./kanboard export-csv <project_id> <start_date> <end_date>
- Send notifications for due tasks: ./kanboard send-notifications-due-tasks
Usage:
./kanboard export-csv <project_id> <start_date> <end_date>
Example:
./kanboard export-csv 1 2014-07-14 2014-07-20 > /tmp/my_custom_export.csv
Emails will be sent to all users with notifications enabled.
./kanboard send-notifications-due-tasks
Cronjob example:
# Everyday at 8am we check for due tasks
0 8 * * * cd /path/to/kanboard && ./kanboard send-notifications-due-tasks >/dev/null 2>&1