oarremoveresource(1)

πŸ“¦
version 2.5.10 Β· 3 versions
, in ubuntu noble

πŸ’… oarremoveresource β€” from the OAR commands manual, section 1 (one of the oar besties, iykyk)

✨ NAME ✨

oarremoveresource β€” bestie, this is the one that removes a resource from the database. Gone. Deleted. Poof. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

oarremoveresource <resource_id>

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: this command removes all the records in the database that are related to the resource whose id is resource_id. All of them. Every last one. Not a vibe check, a full sweep. πŸ’€

But listen, there's a catch and it's giving strict:

  • Only resources in the "Dead" state can be removed. If your resource is out here living its best life in some other state, this command is simply not gonna do it for you.
  • To change the state of a resource, use the oarnodesetting command. πŸ‘‘
⚠️ WARNING: the oar-server service must be running for the state change to take effect. Not running? No state change. Periodt. πŸ’…

Also, please, for the love of everything, mind the fact that all history related to the removed resource β€” including jobs which were executed on it β€” will disappear. Like, gone gone. Not archived, not tucked away in a folder, not "we can get it back later". Disappeared. 😭 So be sure before you send it.


🌈 SEE ALSO 🌈

  • oarnodesetting(1) β€” the one you need for the state change, go look at it bestie

πŸ‘‘ COPYRIGHTS πŸ‘‘

Copyright 2003-2016 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU General Public License Version 2 or above. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


mkay that's the whole page, you ate it, go remove responsibly πŸŽ€βœ¨

signing off from the oarremoveresource page, manual section 1, dated 2023-07-10 β€” source: oarremoveresource. slay, bye πŸ’–πŸ¦‹

πŸ“¦ where this page comes from