How Do I Change The Cron Schedule

Jul 24, 2009

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 5 Replies


ADVERTISEMENT

How To Schedule Cron Jobs In Windows

Dec 7, 2008

how to set cron jobs in window....

View 6 Replies View Related

Rsync Software With Schedule

May 24, 2009

recomend me a good Rsync software with schedule to backup some sites automaticaly?

I want rsync 100% for lower bandwidth.

View 7 Replies View Related

Backups Via WHM - Setting The Schedule Specifically

Apr 6, 2009

We have backups running via WHM to a FTP server - where I see we can set daily, weekly, monthly - but can we specify what time during the day the backups are being done so it won't interfere with other heavy server load tasks?

Looking at the emails I get when the backup is complete, it seems like it's doing it at all sorts of random times.

way to change the priority at which the backup is being run?

View 1 Replies View Related

Plesk 11.x / Windows :: How To Set Up Task Schedule

Sep 23, 2013

How can I set up task schedule every minutes to wget "https://domain.ru/cron.php"?

View 1 Replies View Related

Mysql: Schedule Flush Query Cache

Dec 5, 2007

I want to run flush query cache, saying once a week. Is there anyway to schedule it, so system can do it automatically? Currently, I have to login server, and run it manually

View 1 Replies View Related

Plesk 12.x / Windows :: Schedule A Task - What About ASP Pages

Jul 2, 2015

In plesk it has the ability to schedule a task. It apparently only works for EXE files and php pages ? I that correct ?

How do we schedule an ASP page to run as a task ? I have been trying shells, scripts,

Our data system maintenance and monthly billing are all ASP pages that need to run automatically. Some tasks need to run every 15 minutes.

View 1 Replies View Related

Plesk 12.x / Windows :: Add Schedule Task For Running Script

Apr 4, 2015

I want to add a schedule task for run a script.

Path to executable file: C:Windowssystem32cscript.exe
Arguments Field: E:vhostsmysite.irhttpdocsschedule.vbs

But i get error:

Failed with error: 'C:Windowssystem32cscript.

exe ' is not recognized as an internal or external command, operable program or batch file.

View 1 Replies View Related

Plesk 12.x / Linux :: Change Plan Via WHMCS Causes Dedicated IP To Change To Shared

Feb 21, 2015

I have a client on a dedicated IP, today we needed to downgrade the web hosting plan. As the web hosting plan puts users on a default shared IP, this plan change also changed the dedicated IP to the shared one causing some propagation issues for a small period of time.

I have contacted WHMCS about this asking if they had a way of changing the clients plan but keeping the IP address intact as this could lead to some very undesirable outcomes. They explained that it is not their fault and to contact Parallels.

I know I can change the plan directly in Plesk however by initiating the plan change via WHMCS, everything is automated.

View 1 Replies View Related

Change Host, Change Domain And Getting Search Engines Up To Speed

Feb 5, 2008

Has anyone helped clients transition from one domain to another? Maybe dissolving a partnership or renaming their company... so a new domain name has been registered and a new website created.

2 Issues:

#1 Using .htaccess 301 redirect
We used the following command line in their old website's htaccess file

Redirect 301 / [url]

The goal was to get people try to visit any page of their old website (i.e. OldWebsite.com/contact.html) redirected to their new website (i.e. NewWebsite.com/contact.html). Isn't that supposed to change the address bar's URL, too? For some reason, I visit their old site and I seem to be redirected to their new website but the address bar still has their old domain name? Something is going on???

#2 Having their new company name for 2 years now. People can enter her new company name in Google, MSN or Yahoo. Her new company name appears in the search results but has the old domain name associated with it. We are trying to get rid of any reference to that old domain name? What's the easiest way to do this? So what people see in search engines is:

New Company
Short Meta Description
www.OldDomain.com

What steps did I miss in this transition?

What steps do I have to take on their old website/old web server to control it's appearance on search engines and make sure people get to the new website?

View 2 Replies View Related

SSH Cron Job

Feb 28, 2007

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 Related

Cron Job

Oct 4, 2008

PHP Code:

* */1 * * *

But I didnt understand the difference from

PHP Code:

* * * * *

time property? Why is there a need for /1?

View 7 Replies View Related

Cron

Sep 17, 2007

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 Related

Cron Job

Feb 24, 2007

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 3 Replies View Related

Cron Job

Jun 18, 2007

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 2 Replies View Related

CRON Job Timing Out

Sep 19, 2007

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 4 Replies View Related

Per Second Cron Jobs?

Apr 5, 2009

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 7 Replies View Related

Reboot Cron Job

Aug 20, 2007

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 Related

Cron Job Every Month

Jul 12, 2007

I 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?

View 2 Replies View Related

Cron: How To Run Php File

Feb 7, 2007

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 2 Replies View Related

Cron: First Of The Month

Jun 13, 2005

Anyone know how I'd run a cron job on the begining (first day)of every month?

View 2 Replies View Related

Does Cron Timeout?

May 23, 2007

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 2 Replies View Related

Cron Run Php Scripts

Sep 27, 2006

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 Related

Rsync And Cron

May 5, 2009

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 8 Replies View Related

Remote Cron

Mar 30, 2009

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 11 Replies View Related

Cron Job Deleted - Is Their A Log?

Jul 4, 2009

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 Related

Can Cron (back Ups)

Jul 10, 2009

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 4 Replies View Related

Cron Job Email In DA

Aug 5, 2009

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 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved