Cron Daemon Run-parts
I receive an email like this each day:
SUBJECT: Cron <root@deer> run-parts /etc/cron.daily ........
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Cron Daemon
Im getting daily 100 of emails from Cron Daemon Cron which having following information any body let me know what is cron daemon and how can i disable these email Code: /bin/sh: /usr/local/etc/logcheck.sh: No such file or directory
View Replies!
View Related
Cron: How To Run Php File
My server with cPanel, I'd like run file http://domain.com/file.php at 0h00 everyday, I have set the Cron Job in cPanel : Code: 0 0 * * * /usr/bin/ehpwget http://domain.com/file.php but The cron is not working well Code: /bin/sh: /usr/bin/ehpwget: No such file or directory Can any one please let me know how to run a php file with cron. (as user or root)
View Replies!
View Related
Cron Run Php Scripts
I have my own server. I create php file for adding cronjobs. I checked /etc/cron.deny and /etc/cron.allow. both of them is empty so no problem. I execute the php script but nothing : I check with crontab -u user l and it told me no cronjobs for that user. When I access as root from ssh and try teh same command, it works fine. I don't understand how to fix that.
View Replies!
View Related
Cron Job :: Run Script Every Second, Of Every Minute, Of Every Day
Say I have a script... /home/user/public_html/script.php I want to run this script every second, of every minute, of every day. How would I do this? I want to set up a cron and run it, I have written a cron and I am running it in shell as I type, but if I close shell the cron exits, can anybody assist me with making a cron run this script every second permanently.
View Replies!
View Related
Dells And Parts
i plan to buy some used 1750 and 1850 Dell servers and 2 new 1950. I need spare parts: I know i have to get Power Supply, Motherboard, headsink, and others (cdrom, floppy) from DEll, but what about hard drives, rams, cpu's? Can I get these things from outside companies such as buying the same technical specs SCSI harddrive from Seagate (which is generally cheaper) to replace failed harddrives in these Dell's? what about Rams (given same tech specs)? Will they fit! i know building servers with SuperMicro case and server mobo, we can get generic parts. maybe we can go this route, but we need to know from those who have worked with Dells.
View Replies!
View Related
Quick Parts
I am building a server using two Clovertown E5320 processors for a project. I need some suggestions for a motherboard and memory. I have looked at some boards on Newegg, but I'm still unsure. I do not have a large budget for the motherboard, so the cheaper, the better. If anyone has other processors they would go with alternatively I'm open to suggestions there as well. It was either going to be a single Clovertown (later to be two) or two AMD Opteron 2212's....
View Replies!
View Related
Parts Storage And Inventory
Wondering what kind of storage hardware server builders are using to keep organized? I am currently storing HDD, RAM, PSU, CPUs, and other various parts on shelves and it gets disorganized and messy very quick. I found this product for HDD and may order some to help organize HDDs: [url] Anyone know of similar products or good shevling / cabinets that are computer parts friendly?
View Replies!
View Related
Media Serving And Cache Daemon
what I want to do, have a "node" somewhere serve media (static) files from a central server, but cache the static files the first time they are hit, so subsequent requests to the "node" don't require getting the file from the central server. Is there readily available solution to this?
View Replies!
View Related
Find Out How Many Visitors Are On Different Parts Of Your Site Concurrently
any way to find out how many surfers are on your website simultaneously / concurrently. i have download site, scripts site and a forum on the same dedicated server using the same domain name. the forum tells me i have xxx number of users online... is there a way to find out how many surfers there are on the download and scripts part of the site? i tried ps -aux |grep httpd but it shows significantly lower numbers than i can see on the forum. and i havent added the script and download parts of the site.
View Replies!
View Related
Parts To Fit Tyan Mboard And Supermicro Case
I got a good deal on the Supermicro SC822T-R550LPB case, and then bought a Tyan Motherboard(S3970). Unfortunately, the IO shield that comes w/the board does not fit the case, and the one from the case does not fit the mboard. A set of FAN cables do not reach the mboard either. Does anyone know of any place that sells these parts?
View Replies!
View Related
Timeout Error Occured Trying To Start MySQL Daemon
I am getting the error (as listed in the title) on my server. This is a BRAND NEW FRESH install on a brand new server... OS: Unix Fedora Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686 Hardware Information: Brand new Dell SC1435 Server Software Version: MySQl 5 Control Panel: Nothing yet Apache starts ok but when I go to strart MySQL I get the following error... [root@server112]# /etc/rc.d/init.d/mysqld start Timeout error occurred trying to start MySQL Daemon Starting MySQL: [FAILED] Does anyone have any ideas? I did some pretty extensive searching... Web Hosting Talk article that basically describes the same error. I followed everything as listed in his suggestion and it didn't change anything. Also Checked here but this didn't work either.
View Replies!
View Related
Unable To Open Database For Writing While Starting Urchin Scheduler Daemon
I got this while trying to force the urchin log processing: Code: WARNING: (7024-323-2398) Could not delete backup file - check permissions. DETAIL: /home/virtual/mysite.com/var/log/httpd/access_log : Permission denied All permissions are OK.. I dont know what is happening. Also, scheduler can not start: Code: [root@srv1php.com:~]sudo -u apache ./urchinctl start Urchin webserver is already running WARNING: (7004-557-91) Unable to open database for writing - check permissions. DETAIL: Permission denied Im using Ensim Pro 10.
View Replies!
View Related
Exim ACL To Send Mailer Daemon Messages To ":fail:"
One of my users is receiving way too many Mailer Daemon messages and his mailbox is full. I've had this problem from time to time and I am trying to figure out how to block mailer daemon messages for a specific domain so that they do not even get on the mailing queue...much like when you set a default address to ":fail:". So I came up with this: refuse_md1: deny message = The original message did not come from this site. condition = ${if eq{$sender_address}{}{yes}{no}} condition = ${if eq{$local_part}{userdomain.com}{yes}{no}} log_message = Refused a bounce message for userdomain.com However, this doesn't help. The emails are still going to the mailing queue and when I look at the Exim log I see the usual error message saying that the email was blocked because the account has run out of space.
View Replies!
View Related
ManageMyServices... Run.. "Forest" Run
Server been down over 14 hours..... over 50 sites down.... standard response within a few hours... we will reboot your server within the next 30 min. Sites come up for 3 minutes then down again.... Resubmit ticket... few hours later.... same response... reboot server.... same result... server still down. Last ticket submitted over 3 hours ago.... no response...server still down. No phone number... Hard to believe anyone would run a business in this manner, knowing peoples livelyhood depends on their sites being up.
View Replies!
View Related
Cron
I have root access to a server. Is it possible to create a cron that would restart my ftp and http server every so often. Like once a week or somthing. If so how would i do it?
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
Does Cron Timeout?
Simply wondering, does cron timeout? I have heard mixed reports and can't find any good info. Personally i've run a cronjob for up to 6 minutes, but as my best method was sending myself emails through php, its not exactly a highly accurate testing method. On the same note, what would happen if one cronjob is running a php script for over 10 minutes, then another cron job starts on the same script, before the first one has finished?
View Replies!
View Related
Rsync And Cron
I have a bit of a strange problem, I have an rsync command setup in the servers crontab and from the cron log it show it ran the command but the files don't copy to the backup server. If I take the rsync syntax and run it manually all the files copy across with no errors, but I can't figure out why the cronjob doesn't work properly.
View Replies!
View Related
Remote Cron
I've just noticed that many people may have a free remote cron facility without realising it. If you have any domains registered with Godaddy, you get free web space that includes a cron facility. It only runs every half hour, but you could set six jobs at 5 min intervals to get an effective 5-minute poll, which is good enough for many purposes. You could use it to check uptime on another site, for example. Has anyone tried this?
View Replies!
View Related
Cron Commands
I've been reading through tutorials for setting up cron commands via cPanel, but everything I have tried does not work. What I need to do is simple - I just want to run a php file on my server once every 15 minutes.
View Replies!
View Related
Error In Cron
Got this from the daily.cron email: /etc/cron.daily/chkrootkit.sh: /proc/18927/fd: No such file or directory really weird, when I run that command manually, it doesn't show that error.
View Replies!
View Related
Cron Job
in order to backup db automatically i want to use cron job. So i set cron job at 00 AM suppose that : my infos db name : db db user : zode db pass : 123 the command i use is following PHP Code: mysqldump -u zode -p123 of -K -c -f --compatible=mysql40 --default-character-set=utf8 db > backup/db_`date +%d%m%y`.sql in good time i am looking into backup directory db is in it or not but there is nothing in it
View Replies!
View Related
Cron / WGet
My crontab uses Wget to access a PHP file. It works just fine; however, the only problem is that each time the crontab is run it creates a file in the root of my site called filename.php.10XX filename is the name of the file that Wget runs and 10xx is just the number of times the tab has been run. How can I prevent these files from being created?
View Replies!
View Related
Cron Job
I run A Centos 4.xx latest kernel server and Ive got a problem with Cron Job reporting. The Cron Jobs themselves are working fine but I keep getting this message, on the hour, every hour Quote: Originally Posted by Email from the Cron Daemon Not a directory: /etc/cron.hourly The folder etc/cron.hourly DOES EXIST! and I cannot work out what could be causing this? Does anyone hgave any ideas what could be causing it
View Replies!
View Related
CRON Job Timing Out
i have had a problem for some time now, regarding my CRON jobs. I am trying to download a large amount of data from ebay (through their API, totally legal and aboveboard) using php, but my CRONjob times out. I have tried resetting the timeout variable, but then it exceeds the maximum filesize SO, my question: is there any way to have a script run as a CRON job, and wen it is complete, call another script?
View Replies!
View Related
Reboot Cron Job
VPS isn't rebooting by itself when it goes down. Anyone has any program/script that monitors heartbeat of the server? Like when it goes down, the program will automatically reboots the system. I know there's such a script out there but I forgot what it called.
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 Quit Working...
I have a dedicated CentOS 4.5 Server. However, as you can probably guess I am new to linux and managing a server... Anyway, beginning of this month my crons quit working, I still receive emails as if they are ran but I can't get the scripts to actually execute. I have not touched the crontabs or anything prior to them not working, they simply quit working... I did not notice immediatly they did not work, I am guessing that it was around the time of which I rebuilt apache to a new version of PHP. Today I tried changing them to "php path/to/script.php" and I also tried "path/to/php /path/to/script.php", neither worked. Any ideas or suggestions as to how I can fix this?
View Replies!
View Related
MRTG Cron Error
I've installed mrtg on my server and it's working fine, but I keep getting the following cronjob error every few minutes: /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libgd.so.2) I've searched the net for a resolution and found others have had this issue, but no resolution has been offered. Anyone else have this problem or know the solution?
View Replies!
View Related
Can Cron (back Ups)
I want to set up a cron job to make daily back-ups of my database, but by turning my site off first. This is how I envisage it to work: 1: rename '.htacess' (in public_html folder for the site) to .htaccess-open 2: rename '.htaccess-closed' to .htaccess // this closes the site down so no-one can write/access the db (they are basically shown a 'site down for maintenance' page - I already have the code for this) 3: mysqldump --opt (DB_NAME) -u (DB_USERNAME) -p(DB_PASSWORD) > /path/to/dbbackup-$(date +%m%d%Y).sql // this backs up the database 4: wait for 3 to finish 5: rename '.htaccess' to .htaccess-closed 6: rename '.htacess-open' to .htaccess // this opens the site back upIs this easy enough to do? Anyone got any tips/pointers?
View Replies!
View Related
Cron Job Email In DA
I've got limited knowledge in scripting so I've come to the interweb for help. Google hasn't answered any of my queries so the trusty WHT is next. I'm trying to create a script cron that will email my clients once per month with space and bandwidth useage reminders. I'd prefer not to have to set up crons in each individual account, but rather email all with tokening including |name| |bandwidth| |space| out of the allowed space & bandwidth according to the clients package.
View Replies!
View Related
How Do I Change The Cron Schedule
We have a Cron executed program which runs at certain times of the day. I need to changes these times. How do I do this? To be exact the program that is executed is called daily_charges.jsp And I have looked under etc/cron.daily and I see no call to this program FYI looking under etc/crontab I see this: 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 which obviously is the default Linux included Crontab file so this file cannot be the one that runs the daily crons. how can I find where is the Cron code that daily runs the program: daily_charges.jsp
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
How Can I Backup CPanel With Cron
I just went through a week of nightmares, because my host lost hard drives and stuff.. lost my data, etc.. what ever.. I want to work out how I can cron cPanel backups. I did a search online for a cPanel backup manager, but I didn't have much luck. Or, maybe there's some other way to get regular backups? I don't really need to backup my whole sites. I keep my files locally, but of course I don't have the databases locally -- or the email records. All I "really" need is the database SQL files, so that I can rebuild my forums if need be, and also the email setup files -- because I have over 50 domains and I have emails set up on all of them. I want to have them emailed to myself. There's an option in cPanel too, which allows me to "generate/download a full backup".. well, how do I "restore" the backup? ie: I know how to backup and restore the home directory, databases and email stuff (there's 3 options in cPanel), but there doesn't seem to be anywhere to restore the full backup. Anyway, can anyone give me advice on how to keep backups of my cPanel accounts? I don't trust hosts anymore. They say they back stuff up, but they never to.
View Replies!
View Related
Cron Demon Error
I have got this email after a bit of tweaking of my server with this message for the last 6 hours at 2 hour intervals. /etc/cron.hourly/modsecparse.pl: install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.14: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i686-linux/XSLoader.pm line 70. at /usr/lib/perl5/site_perl/5.8.8/i686-linux/DBD/mysql.pm line 14 Compilation failed in require at (eval 4) line 3. Perhaps a required shared library or dll isn't installed where expected at /etc/cron.hourly/modsecparse.pl line 19
View Replies!
View Related
MySQLDUMP Cron Job
setting up a new cron job. I would like to have MySQLDUMP dump my specified database(s) into a specified folder using date and time stamps in the filename. I've done some searching on this but haven't really came up with a way to do all of this at once, or if I may need to setup a cron job to rename the file after the dump has completed. I may be going about this all wrong to begin with, I'm just looking for a very simple and reliable way to backup my databases. I'm testing this on a Shared Web Host account at this time which does have SSH shell access, but I wasn't sure if this makes a difference.
View Replies!
View Related
Alternative To CRON As A Script
My webshosts don't offer CRONJOB's as standard. If I want to add it my hosting goes from £19.99 per annum to £89.99 would you believe! Is there another way I can run scheduled jobs? Is there a PHP-script someone knows about? Increasing my costs by 75% a year isn't feasable...
View Replies!
View Related
|