showCategory('Bash');

Quiet/no output wget

wget --quiet -O /dev/null https://www.website.com/wp-cron.php

Showing 1 lines of 2 total lines in this snippet.

Cron Job No Output

*/5 * * * * php -q /home/user/script.php > /dev/null 2>&1

Showing 1 lines of 3 total lines in this snippet.

Email from Cron Job

*/20 * * * * php -q /home/user/script.php | mail -s "Email Subject" you@yourdomain.com

Showing 1 lines of 3 total lines in this snippet.

Access folder as root

sudo -i
cd /path/folder
exit

Showing 3 lines of 4 total lines in this snippet.