rhymix/common/scripts
Kijin Sung 42d09bde65 Provide a single entry point for all command-line scripts
Core example:

php index.php common.clean_empty_dirs
  -> executes common/scripts/clean_empty_dirs.php

Third-party example:

php index.php module_name.script_name
  -> executes modules/module_name/scripts/script_name.php

This should be the preferred method of executing PHP scripts included with
any third-party module, because it ensures that the working environment is
correct. For example, it will set the current working directory to Rhymix root,
check that the UID matches the usual web user, include all core libraries and
initialize the Context properly.

Over time, we will expand the command-line functionality similar to
the 'artisan' command in Laravel.
2023-08-16 23:12:25 +09:00
..
clean_empty_dirs.php Add some PHP-CLI scripts to be run as cronjobs 2017-01-26 21:29:22 +09:00
clean_garbage_files.php Break early if there are no more garbage files to clean 2017-01-27 15:16:46 +09:00
clean_message_files.php Provide script to delete message attachments older than X days 2019-11-22 20:06:10 +09:00
clean_old_logs.php Add script to delete old logs 2018-11-20 15:31:34 +09:00
clean_old_notifications.php Clear ncenterlite cache data after deleting old notifications 2018-01-17 13:14:53 +09:00
clean_old_thumbnails.php Add some PHP-CLI scripts to be run as cronjobs 2017-01-26 21:29:22 +09:00
common.php Provide a single entry point for all command-line scripts 2023-08-16 23:12:25 +09:00
update_all_modules.php Fix update_all_modules.php not calling all the update routines of the Install module 2023-08-11 01:38:28 +09:00