Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
10 subscribers
Views
2200 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
cleanup.sh (.bat)
zrizvi
over 7 years ago
Is there a detailed article about the cleanup.sh (.bat) script? I want to know:
1) does it archive active logs?
2) if the cron is deleting the active logs why would it not cause the application to break?
3) what does the first parameter value indicate - I see there are 2 crons scheduled - 1 for "data" and the other for "logs"?
any guidance will be much appreciated. Thanks.
OriginalPostID-246301
Discussion posts and replies are publicly visible
0
Andrew P Gramann
Certified Lead Developer
over 7 years ago
You'll have to cross-reference your configurations with the documentation here:
forum.appian.com/.../Data_Maintenance.html
1) Depends on the configuration. The script can move files or delete them.
2) You usually have to keep the active log. The cron removes older logs that are no longer being appended to.
3) The first param indicates what is being cleaned. -data is for old KDB snapshots, -logs is for old logs
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
zrizvi
over 7 years ago
Thanks Andrewg, The “data” action description says - "Clean up old data files (*.kdb)". What is stored in the .kdb files and are these updated in real time based on the hosted URL access by various users?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Andrew P Gramann
Certified Lead Developer
over 7 years ago
The *.kdb files store information about users, groups, processes, rules, and other application data, and are updated in real time based on use of the application. These files are periodically "checkpointed" which creates a new physical file on disk. The cleanup script deletes old version of these files (or moves them to a backup location).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel