How To Comment Cron Job
Jul 11, 2007How do I comment a cron task? 
I want to keep the command but do not want to remove them..
#* 22 * * * /scripts/scripts
or 
* 22 * * * #/scripts/scripts
How do I comment a cron task? 
I want to keep the command but do not want to remove them..
#* 22 * * * /scripts/scripts
or 
* 22 * * * #/scripts/scripts
Ive been doing alot of searching and not found anything half decent about ukservers and not found anything bad either suppose thats a good sign 
is anyone with ukservers, would you recommend them? if you would why would you etc.
my current host for some reason doesnt want to invoice me to get an order processed and im fed up of waiting specially considering ive got about 300 people depending on me to get a server online and setup by 10th october.
is there any comment on Canadianwebhosting?
View 4 Replies View Relatedim planning to get bluehost web hosting, can anyone give any comment about bluehost?
View 14 Replies View RelatedA lot is known about e-mail spammers, both due to lots of investigations into them and due to some "ex-spammers" talking about what they've done. And it's widely known that they're using infected PCs now.
But what about comment spam? I've been dealing with it a lot at work, and am noticing some oddities. A good amount tends to come from countries where labor can be had cheaply, and watching logs on pages with captchas suggests that they're doing it slowly enough that they're probably just doing it by hand. Unlike the scripts I'd been used to (which would just hammer out POST requests to forms as fast as they could), some spammers are now loading pages on which the comment form resides, waiting a few seconds, and then submitting the spam with a sensible HTTP referrer -- it's as if someone is actually sitting there and copying-and-pasting spam. It seems really odd to me that someone is actually sitting there manually posting spam, though.
Comment spam tends to come from a few areas of the world -- the poverty-stricken parts of Asia; Russia, Africa, and Latin America in particular -- and yet it's often hyping products in other parts of the world. Has anyone found what I'm thinking are US-owned shops paying third-world spammers? Is that what's actually happens?
And other nonsense reigns. Some of the spam getting posted to my employer's site links to sites that, according to whois records, have never existed. A LOT of other spam has egregious formatting errors -- BBCode on a site that doesn't support it, or malformed links (mysite.com/www.spamsite.com) posted over and over again. It's like they're either so clueless that they have no idea that their spam doesn't work, or that they're just being paid by post or something and so they don't even care if the links work.
Has anyone (not necessarily personally) ever tracked down exactly what this "industry" is up to? Even though it seems like a simple extension of e-mail spam, there's a lot of odd behavior that makes me think it's actually quite different, and now I'm really curious.
We want the site CpanelHost.me bought the server!
Your comment is about the DataCenter?
did is reliable?
How is its quality?
How the Internet is its history?
can u tell me your own opinion about this hoster?
im interested with one of their dedicated server and it's within my budget.
if u hv some good or bad experience about them,please share it here..
I wanna run this command "./adfsas.sh" Every 4 Hours can someone tell me what command I can use via SSH to set this cronjob?
View 8 Replies View RelatedPHP Code:
* */1 * * * 
But I didnt understand  the difference from 
PHP Code:
* * * * * 
time property? Why is there a need for /1?
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 6 Replies View Relatedin 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 
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  
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?
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?
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 2 Replies View RelatedI want to execute the following command on the 15th of every month at 1AM:
echo > /usr/local/apache/logs/error_log
How to accomplish this?
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)
Anyone know how I'd run a cron job on the begining (first day)of every month?
View 2 Replies View RelatedSimply 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?
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 0 Replies View RelatedI 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 8 Replies View RelatedI'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?
We are running cpanel on one of our servers. Several cron jobs were deleted from the cron panel of one acct. I have no idea of the paths to re-enter these jobs. Is their a log file on the server that will show cron job history from previous runs so I can recover the proper paths?
View 4 Replies View RelatedI 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?
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. 
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 1 Replies View RelatedNetstat & APF cron job ...
View 7 Replies View RelatedGot 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.
php script to run more than once per minitue.
View 1 Replies View Relatedsetting 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.