\begin{longtable}{|X|c|c|c|c|c|}
\hline
\multicolumn{1}{|c|}{\textbf{~}}
& \multicolumn{1}{c|}{\textbf{Runs}}
& \multicolumn{1}{c|}{\textbf{Runs}}
& \multicolumn{1}{c|}{\textbf{FailJob}}
& \multicolumn{1}{c|}{\textbf{Runs}}
& \multicolumn{1}{c|}{\textbf{Runs}} \\
\multicolumn{1}{|c|}{\textbf{Keyword}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{When}} \\
\multicolumn{1}{|c|}{\textbf{~}}
& \multicolumn{1}{c|}{\textbf{Success}}
& \multicolumn{1}{c|}{\textbf{Failure}}
& \multicolumn{1}{c|}{\textbf{Error}}
& \multicolumn{1}{c|}{\textbf{Client}}
& \multicolumn{1}{c|}{\textbf{~}} \\
\endfirsthead
\hline
\multicolumn{1}{|c|}{\textbf{~}}
& \multicolumn{1}{c|}{\textbf{Runs}}
& \multicolumn{1}{c|}{\textbf{Runs}}
& \multicolumn{1}{c|}{\textbf{FailJob}}
& \multicolumn{1}{c|}{\textbf{Runs}}
& \multicolumn{1}{c|}{\textbf{Runs}} \\
\multicolumn{1}{|c|}{\textbf{Keyword}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{On}}
& \multicolumn{1}{c|}{\textbf{When}} \\
\multicolumn{1}{|c|}{\textbf{~}}
& \multicolumn{1}{c|}{\textbf{Success}}
& \multicolumn{1}{c|}{\textbf{Failure}}
& \multicolumn{1}{c|}{\textbf{Error}}
& \multicolumn{1}{c|}{\textbf{Client}}
& \multicolumn{1}{c|}{\textbf{~}} \\
\endhead
\hline
\multicolumn{6}{c}{Cont. on next page} \\
\endfoot
\hline
\caption{RunScript shortcuts}\label{tab:runscriptshortcuts}
\endlastfoot
\hline
Run Before Job         &        &       & Yes     & No     & Before \\
\hline
Run After Job          &  Yes   &   No  &         & No     & After  \\
\hline
Run After Failed Job   &  No    &  Yes  &         & No     & After  \\
\hline
Client Run Before Job  &        &       & Yes     & Yes    & Before \\
\hline
Client Run After Job   &  Yes   &   No  &         & Yes    & After  \\
\end{longtable}
