Sha256: 0b2a3737217a3f5f52b1bb24a67ea80215e5686866debe95edb1b21d10197aa0

Contents?: true

Size: 696 Bytes

Versions: 602

Compression:

Stored size: 696 Bytes

Contents

#!/usr/bin/env ruby

options = SOPT.get("-a--app*")


CMD.cmd("rbbt workflow monitor --quick -c -a -d #{Rbbt.var.jobs.find}").read
CMD.cmd("rm -f  #{ Rbbt.tmp.tsv_open_locks.find.glob("*").collect{|f| "'#{f}'" } * " " }").read
CMD.cmd("find #{Rbbt.share.find_all.collect{|f| "'#{f}'" } * " " } -name '*.lock' -delete").read 
CMD.cmd("find #{Rbbt.var.find_all.collect{|f| "'#{f}'" } * " " } -name '*.lock' -delete").read 

app_dir = Rbbt.etc.app_dir.exists? ? Rbbt.etc.app_dir.read.strip : Rbbt.apps.find
Path.setup(app_dir)

options[:app].split(/,|\s/).collect do |app|
  d = app_dir[app].var.sinatra.cache.find 
  CMD.cmd("rbbt workflow monitor --quick -c -a -d #{d}").read
end if options[:app]

Version data entries

602 entries across 602 versions & 1 rubygems

Version Path
rbbt-util-5.26.84 share/rbbt_commands/system/purge
rbbt-util-5.26.83 share/rbbt_commands/system/purge
rbbt-util-5.26.82 share/rbbt_commands/system/purge
rbbt-util-5.26.81 share/rbbt_commands/system/purge
rbbt-util-5.26.80 share/rbbt_commands/system/purge
rbbt-util-5.26.79 share/rbbt_commands/system/purge
rbbt-util-5.26.78 share/rbbt_commands/system/purge
rbbt-util-5.26.77 share/rbbt_commands/system/purge
rbbt-util-5.26.76 share/rbbt_commands/system/purge
rbbt-util-5.26.75 share/rbbt_commands/system/purge
rbbt-util-5.26.74 share/rbbt_commands/system/purge
rbbt-util-5.26.73 share/rbbt_commands/system/purge
rbbt-util-5.26.72 share/rbbt_commands/system/purge
rbbt-util-5.26.71 share/rbbt_commands/system/purge
rbbt-util-5.26.70 share/rbbt_commands/system/purge
rbbt-util-5.26.69 share/rbbt_commands/system/purge
rbbt-util-5.26.68 share/rbbt_commands/system/purge
rbbt-util-5.26.67 share/rbbt_commands/system/purge
rbbt-util-5.26.66 share/rbbt_commands/system/purge
rbbt-util-5.26.65 share/rbbt_commands/system/purge