Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Each day one script running in CMS_UAT(Hostname os server) copies and renames branch file from CMS
This script does two following function
1) Copies the file named CMS_CRM_yyyymmddhhminsec_1 (exampleCMS_CRM_20110206194510_1)
from the K:\ReverseMigration\prod-dd-mm-yyyy-xls ( example K:\ReverseMigration\prod-06-02-2011-xls) to the folder Named backup/cms_crm)
2) It renames the file to CMS_CRM.CSV
This script is not running from the day CMS_UAT crashed and restored again.
Please start running the script at around 8pm every night
-----------------------------------------------------------------------
I am not able to find the script.
I got a mail today from my client as follows. What are the steps I should take to solve this problem?? please reply as soon as possible. Its urgent.
-------------------------------------------------------------------------
Each day one script running in CMS_UAT(Hostname os server) copies and renames branch file from CMS
This script does two following function
1) Copies the file named CMS_CRM_yyyymmddhhminsec_1 (exampleCMS_CRM_20110206194510_1)
from the K:\ReverseMigration\prod-dd-mm-yyyy-xls ( example K:\ReverseMigration\prod-06-02-2011-xls) to the folder Named backup/cms_crm)
2) It renames the file to CMS_CRM.CSV
This script is not running from the day CMS_UAT crashed and restored again.
Please start running the script at around 8pm every night
-----------------------------------------------------------------------
I am not able to find the script.
First, this is NOT URGENT FOR ANYONE HERE. We volunteer our time, and answer when we want to, if we want to.
Second, you need to provide details when asking a question...things like version/distro of Linux, error(s) you're getting, what you're doing to get them, etc.
The script references a "K" drive...which is a WINDOWS drive letter. Linux doesn't use such things...have you tried to look on the Windows server for the batch file? Does this script touch a Linux server in any way? Any details about the script?? If it's a Windows script, you should try a Microsoft forum...this is LinuxQuestions....
Ok...now how about answering the REST of the questions we asked?
- Is this a Linux script or Windows script?
- Which box does it run on?
- Is it a script or batch file?
- You say you "saw cron"...WHICH cron? The /etc/cron.*, or the ones in /var?
At least acknowledge the posts people make for you, and answer the questions that are asked.
The script could reside anywhere on the file system. So you should look in the earlier (prior to CMS_UAT crash and restore) copy of the scheduler files (cron in the case of linux) to see where the script file resides.
Otherwise, rewrite the script and stick it in. Seems simple enough.
The script could reside anywhere on the file system. So you should look in the earlier (prior to CMS_UAT crash and restore) copy of the scheduler files (cron in the case of linux) to see where the script file resides.
Otherwise, rewrite the script and stick it in. Seems simple enough.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.