CLI Command Line

One item that OpenCart lacks is the ability to run admin-level scripts using the command line, such as for CRON jobs. This means that if an extension wants to run something via CRON a "back-door" needs to be written into the extension.

The "CLI Command Line" extension attempts to resolve this by providing access to the Controllers within the admin folder but restricting them to the command line only. A controller can easily be modified to recognise if the request has been made via HTTP or CLI and handle permissions appropriately. For example a controller responsible for sending regular e-mails can safely block all HTTP requests. Equally a controller responsible for updating a record daily could be set to ignore the user permission check if the request is via CLI.

This extension doesn't have any dependencies but has been written to be compatible with VQMod and Override Engine if they are present.




Download
  • Developed by OpenCart Community
  • Documentation Included

Rating

Compatibility
1.5.6.4

Last Update
23 Apr 2015

Created
23 Apr 2015
301 Downloads
2 Comments
PeteAUK
PeteAUK
Member since: 15 Jan 2015

View all extensions Get Support