PDXKen
0
Q:

bash add new line to crontab

#!/bin/bash

line="* * * * * /path/to/command"
(crontab -u userhere -l; echo "$line" ) | crontab -u userhere -
0

New to Communities?

Join the community