lvnv
asked on
Linux Cron Job
I need to issue this command every minute from within /etc/crontab:
echo 3 > /proc/sys/vm/drop_caches
What is the line I need to add to /etc/crontab to make it work?
* * * * root echo 3 > /proc/sys/vm/drop_caches DOES NOT WORK
and a number of other variants...
true expert needed on this one...
echo 3 > /proc/sys/vm/drop_caches
What is the line I need to add to /etc/crontab to make it work?
* * * * root echo 3 > /proc/sys/vm/drop_caches DOES NOT WORK
and a number of other variants...
true expert needed on this one...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I tried to copy / create files under that dir on fedora 8 and it says that I can not create regular file
ASKER
umm...I'm giving you all 125 points to keep quiet...
it was my own fault...Late night dumb error...
crond was stopped...
turned it on and all is good...
thanks for your replies
it was my own fault...Late night dumb error...
crond was stopped...
turned it on and all is good...
thanks for your replies
* * * *
is the correct/valid format for all Linux/Unix systems.