Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portal-side Janitor background task #37

Open
natacha-beck opened this issue Apr 14, 2015 · 5 comments
Open

Portal-side Janitor background task #37

natacha-beck opened this issue Apr 14, 2015 · 5 comments
Assignees
Labels
Admin Features or bugs related to administrative features Enhancement Janitor Priority: Normal

Comments

@natacha-beck
Copy link
Contributor

For repetitive administrative tasks, we need a control panel
for launching and managing a background 'janitor' task on
the portal side. Responsabilities:

  • Restart bourreaux after they fail, up to n times in x minutes
  • Trigger 'clear caches' operations for files not used in x days
  • Move userfiles to the archive disk if they've not been used in n days
  • Archive CbrainTasks when they are old (need archiving system for tasks first, see issue Small view changes. #1212)
  • Lock user accounts that are no longer used
  • Check or probe DataProvider SSH tunnels (needed: API for that)
  • Notify sysadmins in real time about situations using email, twitter, etc.
    • Disk filled
    • Bourreau down
    • Internal error messages
    • User feedback received

Related: 1212, 1751, 1627 || #38 , 2086 || #39 , 2174 || #41 , 3128, 4987 || #42

@prioux
Copy link
Member

prioux commented Jan 15, 2016

Other feature: when batch-processing records of a particular type, highlight the rows of the affected record in the index page. Suggested in #297

@prioux
Copy link
Member

prioux commented Sep 11, 2016

Maybe we can use the Raisl framework ActiveJobs :

http://guides.rubyonrails.org/active_job_basics.html

@natacha-beck natacha-beck modified the milestones: 4.6.0, 4.7.0 Nov 21, 2016
@natacha-beck natacha-beck modified the milestones: 4.7.0, 4.6.0 Nov 21, 2016
@prioux prioux modified the milestones: 4.7.0, 5.1.0 Apr 24, 2017
@prioux
Copy link
Member

prioux commented Oct 16, 2017

See also pre-requisite task #613

@prioux prioux modified the milestones: 5.1.0, 5.2.0 Nov 16, 2018
@prioux prioux modified the milestones: 5.2.0, 5.3.0 Sep 16, 2019
@prioux prioux modified the milestones: 5.3.0, 5.4.0 Dec 11, 2019
@prioux prioux added the Admin Features or bugs related to administrative features label Jun 3, 2021
@natacha-beck
Copy link
Contributor Author

@bryancaron and @prioux I think we should re-evaluate all issues related to Janitor since we have the BAC system now.

@prioux
Copy link
Member

prioux commented Feb 21, 2025

Closing: BackgroundActivity framework of 2024 handles most of this. Some of the suggested other uses (like closing accounts) could be implemented later easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Features or bugs related to administrative features Enhancement Janitor Priority: Normal
Projects
None yet
Development

No branches or pull requests

2 participants