How To Do This With A Cronjob

Jul 13, 2007

I want to copy a sql file from my secondary hdd to my NAS daily at 5AM and overwrite the older file with the same filename without prompting for confirmation.

the .sql file is in:

/backup/cpbackup/daily/server/mysql/john_forum.sql

and the NAS is located in /mount/stuff/

View 8 Replies


ADVERTISEMENT

Cronjob Using GET

Feb 24, 2008

I wanna cronjob using get,

View 3 Replies View Related

Cronjob

Feb 5, 2007

which file the crontab/cronjob is saved to?

View 5 Replies View Related

About Cronjob

Aug 3, 2007

i have an command want to run every seound not every minutes so how can i do this in crontab file

View 5 Replies View Related

Cronjob

Sep 18, 2007

how to save the work after you are done editing in SSH.

Currently I want to edit my cronjob in ssh so i type "crontab -e" and it shows the screen which displays cronjobs of the server so after all this how you save it after your done editing it in ssh?

View 3 Replies View Related

Cronjob Not Found

Feb 22, 2008

I got a new BOX, i see 'cronjob' not working,

cronjob
-bash: cronjob: command not found

I installed

yum install vixie-cron.i386

Still

cronjob
-bash: cronjob: command not found

# cron
-bash: cron: command not found

how can i get 'cronjob' working?

View 4 Replies View Related

WHMCS CronJob

May 14, 2008

I have a reseller account with Reseller Zoom. My problem started 72 hours ago when I noticed my WHMCS was not working on my website. I was also recieving Cron Daemon emails stating:

Site error: the file <b>/home/tmass10/public_html/clients/admin/cron.php</b> requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

at this time i was using the standard WHMCS cron: php -q /home/tmass10/public_html/clients/admin/cron.php

RZ told me they made a custom php.ini file and placed it in my directory. Then said to change my Cron job to

php -c/home/tmass10/public_html/clients/admin/php.ini /home/tmass10/public_html/clients/admin/cron.php

At this point i noticed the WHMCS was loading again on my website. However I am still recieving Cron Job errors.

View 14 Replies View Related

Delete A Cronjob Via SSH

Mar 23, 2007

I have a cronjob that is still entered in my server, but due to my own lack of knowledge i deleted the domain from my server without removing the cronjob and now i keep getting the emails from my server

Code:
/bin/sh: line 1: /home/userID_Removed/public_html/cgi-bin/script-removed/cron.cgi: No such file or directory
I just need to know how to remove the cronjob via SSH, i logged in as Root to my SSH and then did crontab -l and I see the two cronjobs I want to remove, but can't find the code to do so anywhere via Google.

There is 3 total that I want to remove but there is about 10 cronjobs setup there so i want to remove those three and make sure the other 7 stay running as they should.

View 2 Replies View Related

Cronjob Doesn't Run

Mar 2, 2007

I have a strange problem with cronjob - it doesn't run. I added a cronjob using webmin to run twice in one hour:

Command:
/usr/bin/php /home/site4/public_html/maintenence.php

It's a php script with some mysql queries. For testing purposes in the end of script I added command to send me mail when cronjob is done. I never get mail.

If I click on "Run now" in Webmin interface, everything works fine - cronjob is done and I get mail. So, I am sure that there is nothing wrong with script, but for some reason my cronjob just doesn't run.

View 14 Replies View Related

Cronjob Every X Seconds

Mar 26, 2007

to set up a serious of scheduled tasks. For example at 9:35:12 PM I would need a php script to run. And its very important that it run at the 12 second mark for the 35th minute. This seems like an application for a cronjob. Anyway, it looks like you can only have cronjobs run every minute, not seconds.

View 1 Replies View Related

Rsync - Setting Up Cronjob In CPanel

Jun 16, 2009

I am unable to set cronjob, keep getting message; "Host key verification failed."

If I run command via SSH everything works properly.

I did follow information posted here: http://www.bqbackup.com/setup.html

I think it has to do something with key. In what folder on BQ server should I copy id_rsa.pub key from main server?

This is command I want to run:

rsync -avz -e ssh /home/username/public_html/ username@username.bqbackup.comerver1

View 6 Replies View Related

Rkhunter :: Invalid Option Specified: -cronjob

Sep 18, 2009

Server Detail : Ceontos / Cpanel

i have installed RKhunter several days ago , after installation i`m receving below email everynight

subjectDaily Rkhunter Scan Report
Invalid option specified: -cronjob

View 6 Replies View Related

Plesk 12.x / Windows :: Set CronJob For WHMCS?

May 23, 2015

i'm install whmcs in My plesk 12 for Windows now i set Cron Job but system Send email with subject "Parallels Panel Scheduler notification" and attached Files and Write>> Could not open input file: php ...

and I attached ScreenShot

View 3 Replies View Related

Cronjob :: User/bin/crontab Permissions Are Incorrect

Apr 19, 2008

I am trying to setup a cronjob but cPanel, (Linux Centos 5), tells me that user/bin/crontab permissions are incorrect and need to be changed to 4755 - I try to change permissions in WinSCP [Properties] but it doesn't 'take'.

how to force a change of permissions with SSH (Putty)

View 2 Replies View Related

Plesk 12.x / Linux :: Executing Cronjob Every Minute

Apr 18, 2015

A customer want to execute a cronjob in plesk every minute, but the cronjob was only executed every 5 minutes...

(so that the cronjob was executed every minute...)

View 2 Replies View Related

Plesk 12.x / Linux :: Cronjob To Backup Email On One Domain?

Oct 29, 2014

Seems if I want to back up a domain's emails to a remote server (3x a week) I might be able to accomplish that with a Scheduled Task / Cronjob? I have a weekly full domain backup from the Plesk scheduled backup. But I can only set one backup per client. So I'd like to backup email separately, several times a week.

I found this:

# /usr/local/psa/bin/pleskbackup –domains-name yourdomain.com –only-mail -v

But I'm looking to send to a remote FTP repository. Can it be done with "Scheduled Task"?

View 8 Replies View Related

Cronjob / Wget Error :: /bin/sh: /usr/bin/wget: Permission Denied

Apr 11, 2008

Cronjob is not working for a script on a clients cpanel account:

He set it up to grab from the path below and it is giving this error:

/bin/sh: /usr/bin/wget: Permission denied

The cronjob that is running is:

/usr/bin/wget -O - -q [url]

This is a cpanel box with centos 5

View 14 Replies View Related







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