> Source: [sk106653](https://support.checkpoint.com/results/sk/sk106653)

# sk106653 - How to suppress entries from initiation of a cron job to /var/log/messages

| Property | Value |
|----------|-------|
| Solution ID | sk106653 |
| Date Created | 2015-06-29 |
| Last Modified | 2015-07-02 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20 |
| OS | Linux, Gaia |

## Solution

**How to suppress entries from initiation of a cron job to /var/log/messages**   

**Note:** This will not disable the cron job itself, just the issued log.

Cron Job writes an entry to /var/log/messages, which some users may wish to silence.

Add the following entry at the end of a command string in crontab: "\> /dev/null 2\>\&1"

This will redirect any messages from STDOUT and STDERR generated by this cronjob to /dev/null which is a designated discard path.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
