Horje
cpanel cron mail output Code Example
cpanel cron mail output
The following is an example of what this would look like to silence both STDOUT (Regular output) and STDERR (Errors from the script) so that you never get emails from that script:

15 */2 * * * /path/to/your/script >/dev/null 2>&1
 

The following is an example of silencing only STDOUT so that you only get error emails:

15 */2 * * * /path/to/your/script >/dev/null
cpanel cron mail output
The following is an example of what this would look like to silence both STDOUT (Regular output) and STDERR (Errors from the script) so that you never get emails from that script:

15 */2 * * * /path/to/your/script >/dev/null 2>&1
 

The following is an example of silencing only STDOUT so that you only get error emails:

15 */2 * * * /path/to/your/script >/dev/null
 

The following is an example of silencing only STDERR so that you only get non-error emails:

15 */2 * * * /path/to/your/script 2>/dev/null
cpanel cron mail output
15 */2 * * * /path/to/your/script >/dev/null 2>&1




Shell

Related
install ambrella uml ubuntu Code Example install ambrella uml ubuntu Code Example
windows 10 open git bash here Code Example windows 10 open git bash here Code Example
install newest spyder version with coneda Code Example install newest spyder version with coneda Code Example
move repository from Bitbucket to GitHub Code Example move repository from Bitbucket to GitHub Code Example
cat from line to line Code Example cat from line to line Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11