Commit 09c92b00 authored by  Joe  Rackham's avatar Joe Rackham

Add cron section

parent e648b62d
Pipeline #148426 passed with stage
in 20 seconds
......@@ -97,6 +97,15 @@
\item \texttt{sudo} runs a particular command as super-user
\end{itemize}
\section{Automation}
\begin{itemize}
\item \texttt{cron} - Can be used to periodically run commands
\begin{itemize}
\item \texttt{crontab -e} - Edit the cron table (will also restart the daemon)
\item At the top of the file, environment variables should be set, if the MAILTO variable is set the results of job will be emailed to
\end{itemize}
\end{itemize}
\section{Grep - Global Regular Expression Print}
\begin{itemize}
\item \texttt{grep} is used \texttt{grep *options* *regex* *file*} to search for occurances of paticular strings in files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment