Skip to content

Script used for clean some resorces of task on the local pc

Notifications You must be signed in to change notification settings

SandakovMM/task_cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is script for clean logs, config folders with some tasks of redmine. It get readmine task number, check status on server and remove folder (files) if task is closed.

Parameters:

  1. -s (--server) address of redmine server
  2. -u (--user) redmine user name. This is requaired parameter
  3. -p (--password) redmine password name. This is requaired parameter
  4. -f (--folder) folder list to cleanup
  5. -g (--git) flag shows that need to clean git repo in folder

Example: task_cleaner -s red.some_serv.com -u user -p password -f '/tmp/logs,/tmp/configs,/tmp/code' -g

About

Script used for clean some resorces of task on the local pc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages