##// END OF EJS Templates
db: always use Session() for compatibility, Using Session is actually the...
db: always use Session() for compatibility, Using Session is actually the scoped_session which is not the same as the one which we "call". More here: http://docs.sqlalchemy.org/en/latest/orm/contextual.html#contextual-thread-local-sessions

File last commit:

r1:854a839a default
r506:4c6b9282 default
Show More
cleanup-cmds.rst
23 lines | 784 B | text/x-rst | RstLexer

|RCT| Clean Up Commands

|RCT| comes with a number of functions which can be used to administer your |RCE| instances. Two of these can be used to automate the cleanup of gists and |repos|

rhodecode-cleanup-gists

Use this command to delete gists within RhodeCode Enterprise. It takes a number of options for specifying the kind of gists you want deleted, and it is possible to run these commands from a cron job or cleanup script. For more information, see the :ref:`tools-cli`

rhodecode-cleanup-repos

Use this command to delete |repos| from your |RCE| instances. It takes a number of options specifying the kind of |repos| you want deleted. For more information, see the :ref:`tools-cli`