The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
chk crontab
crontab -e |
#4
|
||||
|
||||
You should really let your OS manage its memory. It knows how to operate more efficiently than you do.
|
Благодарность от: | ||
Simon Lloyd |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|