Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

php cron with nice

Posted on 2008-06-19
2
Medium Priority
?
574 Views
Last Modified: 2013-12-07
I need to run a php file with cron and the log - not so difficult.

But my host has a restriction that requires the  use of nice with an increment of 10 as well.

my crontab so far reads :

32 * * * *  lynx -dump http://www.ouhypo.org/dev/site_monitor.php >/usr/home/copycat/cronlogs/sitemonitor.log

do i add the nice line /usr/bin/nice - n 10  between the cron times and the lynx command?
0
Comment
Question by:antonumia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Accepted Solution

by:
glcummins earned 500 total points
ID: 21824036
32 * * * *  /usr/bin/nice -n 10 lynx -dump http://www.ouhypo.org/dev/site_monitor.php >/usr/home/copycat/cronlogs/sitemonitor.log
0
 
LVL 1

Author Closing Comment

by:antonumia
ID: 31468876
Thanks, it's what I thought but no harm in verifying.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to count occurrences of each item in an array.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question