[{"data":1,"prerenderedAt":222,"buildId":223},["ShallowReactive",2],{"docs:\u002Freference\u002Fcli":3},{"page":4,"section":16,"document":17,"credits":10,"prev":10,"next":10},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"cli","\u002Freference\u002Fcli","reference\u002Fcli.md","Command line","Every heavy and fleetjobs command and flag, with what each one prints and the exit code it returns to the caller.",null,[],"i-lucide-terminal","article",true,1,"reference",{"nodes":18,"toc":219},[19,31,121,197,205],[20,21,22,26,27,30],"p",{},[23,24,25],"code",{},"heavy"," and ",[23,28,29],{},"fleetjobs"," are the same program.",[32,33,34,47],"table",{},[35,36,37],"thead",{},[38,39,40,44],"tr",{},[41,42,43],"th",{},"Command",[41,45,46],{},"What it does",[48,49,50,61,71,81,91,101,111],"tbody",{},[38,51,52,58],{},[53,54,55],"td",{},[23,56,57],{},"heavy \u003Ccmd>",[53,59,60],{},"Run a command, wait for it, return its exit code",[38,62,63,68],{},[53,64,65],{},[23,66,67],{},"heavy submit \u003Ccmd>",[53,69,70],{},"Queue a command and print its job id",[38,72,73,78],{},[53,74,75],{},[23,76,77],{},"heavy wait \u003Cid>",[53,79,80],{},"Wait for a job and return its exit code",[38,82,83,88],{},[53,84,85],{},[23,86,87],{},"heavy cancel \u003Cid>",[53,89,90],{},"Stop a job",[38,92,93,98],{},[53,94,95],{},[23,96,97],{},"heavy status",[53,99,100],{},"List queued, running and recent jobs",[38,102,103,108],{},[53,104,105],{},[23,106,107],{},"heavy night",[53,109,110],{},"Manage the night queue",[38,112,113,118],{},[53,114,115],{},[23,116,117],{},"heavy replay",[53,119,120],{},"Run the scheduler over a log of past jobs",[32,122,123,132],{},[35,124,125],{},[38,126,127,130],{},[41,128,129],{},"Flag",[41,131,46],{},[48,133,134,144,158,177,187],{},[38,135,136,141],{},[53,137,138],{},[23,139,140],{},"--light",[53,142,143],{},"Use the light lane",[38,145,146,151],{},[53,147,148],{},[23,149,150],{},"--log \u003Cfile>",[53,152,153,154,157],{},"With ",[23,155,156],{},"replay",", the log to read",[38,159,160,165],{},[53,161,162],{},[23,163,164],{},"--policy \u003Cname>",[53,166,153,167,169,170,173,174],{},[23,168,156],{},", ",[23,171,172],{},"bash"," or ",[23,175,176],{},"default",[38,178,179,184],{},[53,180,181],{},[23,182,183],{},"--json",[53,185,186],{},"Print the document as JSON",[38,188,189,194],{},[53,190,191],{},[23,192,193],{},"--version",[53,195,196],{},"Print the version",[198,199,204],"h2",{"id":200,"anchor":201},"exit-codes",{"label":202,"icon":203},"Section titled \"Exit codes\"","#","Exit codes",[20,206,207,208,210,211,214,215,218],{},"A command run through ",[23,209,57],{}," returns the exit code of ",[23,212,213],{},"\u003Ccmd>",". A usage error, such as an unknown flag, returns a non-zero code and names the fix on the next line. Run ",[23,216,217],{},"heavy --help"," for the same list as this page.",[220],{"id":200,"depth":221,"text":204},2,1796521693203,"b7c410bb-5c5a-4cba-8fe2-6fac86095105"]