[SOLVED] no otrs.DeleteCache.pl in bin

Moderator: crythias

Locked
gecelann
Znuny expert
Posts: 164
Joined: 12 Feb 2016, 08:05
Znuny Version: 5.0.0
Real Name: ann
Company: rghdinc

[SOLVED] no otrs.DeleteCache.pl in bin

Post by gecelann »

Hi to everyone!

I would like to know how to use console.pl when deleting cache?
because I dont have otrs.DeleteCache.pl in my bin folder.

Here's the list of console.pl, please help me. :(

Code: Select all

Usage:
 otrs.Console.pl command [options] [arguments]

Options:
 [--help]                                 - Display help for this command.
 [--no-ansi]                              - Do not perform ANSI terminal output coloring.
 [--quiet]                                - Suppress informative output, only retain error messages.

Available commands:
 Help                                     - Displays help for an existing command or search for commands.
 List                                     - Lists available commands.
 Search                                   - Search for commands.
Admin
 Admin::Article::StorageSwitch            - Migrate article files from one storage backend to another on the fly.
 Admin::CustomerCompany::Add              - Add a customer company.
 Admin::CustomerUser::Add                 - Add a customer user.
 Admin::CustomerUser::SetPassword         - Updates the password for a customer user.
 Admin::FAQ::Import                       - FAQ import tool.
 Admin::Group::Add                        - Create a new group.
 Admin::Group::CustomerLink               - Connect a customer user to a group.
 Admin::Group::RoleLink                   - Connect a role to a group.
 Admin::Group::UserLink                   - Connect a user to a group.
 Admin::ITSM::Configitem::Delete          - Delete config items (all, by class (and deployment state) or by number).
 Admin::ITSM::Configitem::ListDuplicates  - List ConfigItems which have a non-unique name.
 Admin::ITSM::ImportExport::Export        - The tool for exporting config items
 Admin::ITSM::ImportExport::Import        - The tool for importing config items
 Admin::ITSM::IncidentState::Recalculate  - Recalculates the incident state of config items.
 Admin::Package::Export                   - Export the contents of an OTRS package to a directory.
 Admin::Package::FileSearch               - Find a file in an installed OTRS package.
 Admin::Package::Install                  - Install an OTRS package.
 Admin::Package::List                     - List all installed OTRS packages.
 Admin::Package::ListInstalledFiles       - List all installed OTRS package files.
 Admin::Package::Reinstall                - Reinstall an OTRS package.
 Admin::Package::ReinstallAll             - Reinstall all OTRS packages that are not correctly deployed.
 Admin::Package::RepositoryList           - List all known OTRS package repsitories.
 Admin::Package::Uninstall                - Uninstall an OTRS package.
 Admin::Package::Upgrade                  - Upgrade an OTRS package.
 Admin::Queue::Add                        - Create a new queue.
 Admin::Role::Add                         - Create a new role.
 Admin::Role::UserLink                    - Connect a user to a role.
 Admin::Service::Add                      - Add new service.
 Admin::StandardTemplate::QueueLink       - Link a template to a queue.
 Admin::SystemAddress::Add                - Add new system address.
 Admin::TicketType::Add                   - Add new ticket type.
 Admin::User::Add                         - Add a user.
 Admin::User::SetPassword                 - Updates the password for an agent.
 Admin::WebService::Add                   - Create a new web service.
 Admin::WebService::Delete                - Delete an existing web service.
 Admin::WebService::Dump                  - Print a web service configuration (in YAML format) into a file.
 Admin::WebService::List                  - List all web services.
 Admin::WebService::Update                - Update an existing web service.
Dev
 Dev::Code::ContributorsListUpdate        - Update the list of contributors based on git commit information.
 Dev::Code::Generate::ConsoleCommand      - Generate a console command skeleton.
 Dev::Code::Generate::UnitTest::Backend   - Generate a test skeleton.
 Dev::Package::Build                      - Create an OTRS package (opm) file from an OTRS package source (sopm) file.
 Dev::Package::RepositoryIndex            - Generate an index file (otrs.xml) for an OTRS package repository.
 Dev::Tools::CacheBenchmark               - Runs a benchmark over the available cache backends.
 Dev::Tools::Config2Docbook               - Generate a config options reference chapter (docbook) for the administration manual.
 Dev::Tools::ConsoleStats                 - Print some statistics about available console commands.
 Dev::Tools::RPMSpecGenerate              - Generate RPM spec files.
 Dev::Tools::TranslationsUpdate           - Update the OTRS translation files.
 Dev::Tools::Database::RandomDataInsert   - Insert random data into the OTRS database for testing purposes.
 Dev::Tools::Database::XML2SQL            - Convert OTRS database XML to SQL.
 Dev::Tools::Database::XMLExecute         - Convert an OTRS database XML file to SQL and execute it in the current database.
 Dev::Tools::GenericInterface::DebugRead  - Read parts of the generic interface debug log based on your given options.
 Dev::Tools::Migrate::DTL2TT              - Migrate DTL files to Template::Toolkit.
 Dev::UnitTest::Run                       - Executes unit tests.
Maint
 Maint::Cache::Delete                     - Deletes cache files created by OTRS.
 Maint::CloudServices::ConnectionCheck    - Check OTRS cloud services connectivity.
 Maint::Config::Dump                      - Dump configuration settings.
 Maint::Config::Rebuild                   - Rebuild the system configuration of OTRS.
 Maint::Daemon::List                      - List available daemons.
 Maint::Daemon::Summary                   - Shows a summary of one or all daemon modules.
 Maint::Database::Check                   - Check OTRS database connectivity.
 Maint::Database::PasswordCrypt           - Makes a database password unreadable for inclusion in Kernel/Config.pm.
 Maint::Database::MySQL::InnoDBMigration  - Converts all MySQL database tables to InnoDB.
 Maint::FAQ::ContentTypeSet               - Sets the content type of FAQ items.
 Maint::GenericAgent::Run                 - Run all generic agent jobs from a configuration file.
 Maint::Loader::CacheCleanup              - Cleanup the CSS/JS loader cache.
 Maint::Loader::CacheGenerate             - Generate the CSS/JS loader cache.
 Maint::OTRSBusiness::AvailabilityCheck   - Checks if OTRS Business Solution™ is available for the current system.
 Maint::OTRSBusiness::EntitlementCheck    - Check the OTRS Business Solution™ is entitled for this system.
 Maint::PostMaster::MailAccountFetch      - Fetch incoming emails from configured mail accounts.
 Maint::PostMaster::Read                  - Read incoming email from STDIN.
 Maint::PostMaster::SpoolMailsReprocess   - Reprocess mails from spool directory that could not be imported in the first place.
 Maint::Registration::UpdateSend          - Send an OTRS system registration update to OTRS Group.
 Maint::SMIME::KeysRefresh                - Normalize SMIME private secrets and rename all certificates to the correct hash.
 Maint::Session::DeleteAll                - Delete all sessions.
 Maint::Session::DeleteExpired            - Delete expired sessions.
 Maint::Session::ListAll                  - List all sessions.
 Maint::Session::ListExpired              - List expired sessions.
 Maint::Stats::Generate                   - Generate (and send, optional) statistics which have been configured previously in the OTRS statistics module.
 Maint::Stats::Dashboard::Generate        - Generate statistics widgets for the dashboard.
 Maint::SupportBundle::Generate           - Generate a support bundle for this system.
 Maint::SupportData::CollectAsynchronous  - Collects certain support data asynchronously.
 Maint::Ticket::ArchiveCleanup            - Deletes ticket/article seen flags and ticket watcher entries for archived tickets.
 Maint::Ticket::Delete                    - Delete one or more tickets.
 Maint::Ticket::Dump                      - Prints a ticket and its articles to the console.
 Maint::Ticket::EscalationCheck           - Triggers ticket escalation events and notification events for escalation.
 Maint::Ticket::EscalationIndexRebuild    - Completely rebuild the ticket escalation index.
 Maint::Ticket::FulltextIndexRebuild      - Completely rebuild the article search index.
 Maint::Ticket::InvalidUserCleanup        - Deletes ticket/article seen flags and ticket watcher entries of users which have been invalid for more than a month.
 Maint::Ticket::PendingCheck              - Process pending tickets that are past their pending time and send pending reminders.
 Maint::Ticket::QueueIndexCleanup         - Cleanup unneeded entries from StaticDB queue index.
 Maint::Ticket::QueueIndexRebuild         - Rebuild the ticket index for AgentTicketQueue.
 Maint::Ticket::RestoreFromArchive        - Restore non-closed tickets from the ticket archive.
 Maint::Ticket::UnlockAll                 - Unlock all tickets by force.
 Maint::Ticket::UnlockTicket              - Unlock a single ticket by force.
 Maint::Ticket::UnlockTimeout             - Unlock tickets that are past their unlock timeout.
Last edited by gecelann on 13 Sep 2016, 07:52, edited 1 time in total.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: no otrs.DeleteCache.pl in bin

Post by reneeb »

perl bin/otrs.Console.pl Maint::Cache::Delete
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
gecelann
Znuny expert
Posts: 164
Joined: 12 Feb 2016, 08:05
Znuny Version: 5.0.0
Real Name: ann
Company: rghdinc

Re: no otrs.DeleteCache.pl in bin

Post by gecelann »

reneeb wrote:perl bin/otrs.Console.pl Maint::Cache::Delete
Thank you! :)
Locked