Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Using Zcat In Crontab
post Aug 26 2004, 01:15 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 26-August 04
Member No.: 3,636

I have the following command setup in crontab:

0 12 26 8 * zcat /var/log/mail-200408 | statistics > aug04

When I checked the output file it is blank. This command works fine when I enter it manually from the prompt. Any ideas?

Go to the top of the page
+Quote Post
post Aug 26 2004, 09:36 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,807
Joined: 23-January 03
Member No.: 360

You need to specify the complete path to zcat

0 12 26 8 * /bin/zcat /var/log/mail-200408 | statistics > aug04
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st July 2018 - 10:12 PM