Hello,
Running FreeBSD 4.6 and having some problems with a crontab.
I have a script I want to execute every 15 minutes.
When I add the entry (as root) crontab -e
and insert this line:
*/15* * * * root /usr/libexec/rs2 /var/log/rs.log
I get an error when trying
and insert this line:
*/15* * * * root /usr/libexec/rs2
/var/log/rs.log
Check to see if you have extra blank lines after the last line. Delete them.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
When you use a user crontab (crontab -e), you don't include the user field.
The user's own id is implied. I always put a (comment) header line in the
user crontab so that it's clear what the fields are.
So, your example:
*/15* * * * root /usr/libexec/rs2 /var/log
Thanks all.
By the way now I'm getting some more errors Check this out.
Dec 5 13:05:00 tester /usr/sbin/cron[26639]: getting vmemoryuse resource
limit: Invalid argument
Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource
limit: Invalid argument
Dec 5 13:05:00 tester
Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource
limit: Invalid argument
Check and modify your resource limits.
man login.conf
man limits
man csh (type: /^[[:space:]]*limit)
man sh (type: /^[[:space:]]*ulimit)
--
Paul A. Scott
mailto:[EMAIL PROTECTED]
On Thu, 5 Dec 2002, Matthew Bettinger wrote:
Thanks all.
By the way now I'm getting some more errors Check this out.
Dec 5 13:05:00 tester /usr/sbin/cron[26639]: getting vmemoryuse resource
limit: Invalid argument
Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource