View Full Version : Stopping Cron Jobs on Legacy
I was successfully migrated a few days ago. Went great. How do I log into the old Legacy system so that I can stop my cron jobs. I have a cron that backed up all mysql tables every night. It was replaced with a cgi process on the new servers. I can't tell if the cgi process is working or not because the legacy cron job is still running. How do I stop it?
Thank You.
Delete the crontab file in the etc directory in your Legacy webspace.
Your migrated cgi processed backups would be on totally different servers than your cron processed ones. If you are backing up your database to your web space then you will need to use a different ftp hostname to check the new backups. You have to change your old ftp##.powweb.com hostname to ftp.powweb.com, to access your migrated site space.
As for disabling the Legacy cron job, use your old ftp##.powweb.com hostname to log into your Legacy ftp space, then remove the crontab file from within the etc directory (folder)
Thank You. That did the trick. I'll find out tonight if the new cgi works.
The migration of my cron job to the new scheduled jobs isn't working. Here is the scheduled job that is running:
DATE=`date "+\%d"`;/usr/local/bin/mysqldump --user=myusername --password=mypassword --host=mysql13.powweb.com mysql_table > backup$DATE.sql 2>mysqldump.err;echo -e "To: owner@mydomain.com\nSubject: Backup Completed\nFrom: Website\n\nThe backup has been run\nSize of the backup: `ls -l backup$DATE.sql`\nServer time of the backup: `date`\nError (if any): `cat mysqldump.err`" |/usr/sbin/sendmail -t
The cgi error log:
loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
cat: mysqldump.err: No such file or directory
ls: backup\08.sql: No such file or directory
sh: line 1: backup\08.sql: No such file or directory
Failed
Any suggestions or should I just open a support ticket?
Thanks again.
vBulletin v3.6.0, Copyright ©2000-2010, Jelsoft Enterprises Ltd.