![]() |
Clear memory cache on Linux
I added this to my server http://hosting.com/support/linux/cle...-linux-server/
I've removed everything above but getting emails every hour :( please help --------------- Added [DATE]1396133446[/DATE] at [TIME]1396133446[/TIME] --------------- /bin/sh: /root/clearcache.sh: /bin/sh^M: bad interpreter: No such file or directory I just want to remove it |
I think the ^M is a carriage return character, which windows uses at the end of lines in a text file but linux doesn't, so it's confused. To be honest I haven't used linux in a while, but I seem to remember a command called dos2unix which would fix that (assuming you don't know how to use vi or another linux editor). Try the command:
Code:
dos2unix /root/clearcache.sh If you still want to remove the fix, try crontab -e and remove the line you added. Edit: Oh, I see you said you removed everything that that page says to add? If that's the case then I don't know. Maybe emails are queued up somewhere or something like that, because it doesn't seem possible to get that message if you removed /root/clearcache.sh |
chk crontab
crontab -e |
You should really let your OS manage its memory. It knows how to operate more efficiently than you do.
|
All times are GMT. The time now is 05:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|