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


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

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

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

Delete VPS From Hypervm

Apr 1, 2009

i've created VPS with OpenVZ.And there is some problem i have access the vps and it's show some error

Code:
VM creation has failed. Reason: Private area already exists in /vz/private/250
.At the moment i forgot my SSH details..only i know my hypervm "root" details..where i log with admin password.I need to fix this because some clients of my hosting company is waiting and my number of VPS is limited.

View 8 Replies View Related

Cant Delete Files

Jul 12, 2009

im try to delete some file from cpanel but everytime i delete nad refresh they come back
also if i try to change the perms it does not let me?

View 14 Replies View Related

How To Delete A Directory Through Ssh

Aug 20, 2008

I'm trying to use SSH to delete a directory. It won't delete via FTP.

I've tried variations of the below but nothing seems to work;

rm -f [folder]
rm /-f [folder]

the directory that should be deleted is test.crossroadsclub.net, so I use that as the folder.

View 5 Replies View Related

Can I Delete Mysqld.log

Dec 13, 2008

Can I delete mysqld.log

Can I delete or empty mysqld.log

Its currently 850MB

If I can do I have to stop MYSQL first;?

View 6 Replies View Related

How To Delete Files

Aug 13, 2008

i have installed the Domain Technologie Control Panel on Debian Etch, and have 2 folders that will not delete via FTP

I was wondering if anyone had a tutorial or could tell me how to be able to delete them....

View 14 Replies View Related

Delete /dev/sda4

Jul 14, 2008

[root@d7 ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 57 457821 83 Linux
/dev/sda2 58 15355 122881185 83 Linux
/dev/sda3 15356 15616 2096482+ 82 Linux swap / Solaris
/dev/sda4 15617 19457 30852832+ 8e Linux LVM

i want removed/deleted /dev/sda4

View 2 Replies View Related

Can We Delete Sql Logs

Jul 7, 2008

Can we delete sql logs ? as it occupies 2.97gb

All the log is under a single file, occupying huge amount of space on our server
use lxadmin for the vps

we are unable to even open up the file, as we have almost run out of space, we would atleast like to delete around old logs older than a month, this logs are from 3 months, so please help us in solving this problem

if we delete the sql log, will a new log be created automatically or it gives an error?

View 13 Replies View Related

Nobody Folders And Delete

Jun 29, 2008

when people run a forum and the template and forumdate folders may created some files with nobody permission,

the user could not delete them by the user themself,

and need admin login as root with ssh to delete those,

and let the files permission can run as the user instead of nobody.

the server is centos with cpanel and suexec.

View 5 Replies View Related

Delete Command

Feb 24, 2008

can i activate the deletion command for 10 or 30 mins and then stop it? i think by this way we cant delete some files from the dir and not all the files so i can edit my files

i want to do this because my server doesnt respond to any file system command because my hardisk is full! so i need to remove some files by any way

View 13 Replies View Related

/var/log/mysql - Can I Delete It

Jul 22, 2007

Question: Is it safe to delete the files in /var/log/mysql ? Also, is there some way I can disable logging so that this folder does not get filled up again?

Explanation:

Last night I started running a Perl script to process the data contained in some files, and then do a series of INSERTs to put them in a MySQL database. When I checked on it this morning, I found that it was very close to being done, but had locked up. I had trouble doing anything at all, actually, until I realized that 100% of the disk space on my hard drive had now been used. I went to investigate, and I quickly realized that my /var/log/mysql folder was over 120GB!

My intuition tells me that this folder is just used to store logs of what MySQL is doing. However, I have no need for these logs, and seeing as they are (unnecessarily) using over 120GB of my hard drive space, I would like to delete everything in that folder. But I'm still fairly new to Linux, and I'm not sure if this is safe. Can I just delete these files? And also, to prevent this from happening again, is there some way I can disable MySQL from creating such enormous log files?

View 12 Replies View Related







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