Red Hat / Fedora :: Get Files From Windows Using Cron Job ?

Nov 27, 2010

In my windows machine I have some txt files. I want run a script or command daily to get those file to my linux box using cron job.

Windows (192.168.1.5)

d:
ecords est.txt

to

Linux (192.168.1.

/data

I want to run that script in my linux box every day at 10.30 AM using cron job to get those files from windows to linux.

View 1 Replies


ADVERTISEMENT

Fedora :: No Output From Cron Jobs In /etc/cron.daily

Jan 29, 2011

I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).

The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.

The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.

I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)

View 3 Replies View Related

General :: Create Cron Files And Run Them?

Oct 12, 2009

how to create cron file and how to run them?

View 2 Replies View Related

Security :: Umask For Cron And Other Log Files?

Mar 16, 2011

Does anyone have a solution for cron file permissions. I need them to be automatically generated 640, right not I believe they are 0644. Could I add a umask varible to the syslog.conf file to set the umask for cron generated files? Or is there a better way to do this. I am speaking only of logs generated by root.

View 1 Replies View Related

General :: Move Files To Another Directory Using A Cron Job?

Sep 29, 2009

I have a php script in cron directory that generates 5 textfiles, after the files are generated, I want to create a script that will move the 5 text fiels to anoher folder name "web".

View 2 Replies View Related

General :: Copy Files From One Server To Other Via Cron Job ?

Apr 21, 2010

OS: zLinux, SuSE Linux Enterprise Server 10

I want to copy files from one server to other servers via cron job.

All servers are part of a network.

Here is the copy command I will use:

This script is in our test server.

We need to copy files to other environment via cron job.

View 12 Replies View Related

General :: Make All Cron Jobs In Script Files?

Jun 28, 2010

in my linux box i have lot of cron jobs. i need to make all cron jobs in script files. is it possible to make this. like[URL]Now how i change this in a script file

View 4 Replies View Related

General :: Cron To Remove All Files Within Directory Except One File?

Jun 28, 2010

I would like to create a cronjob that will delete all files within a directory 1 hours after it is created to the folderI found this cron find /path/to/file/* -ctime +1 -exec rm {} ; but it's deleted all files.I want to make an exception, all file should be deleted except one file (letsay file a.zip)

View 16 Replies View Related

General :: Script To Move Files With Log And Email And Cron?

Jan 4, 2011

A user will be ftping some files to an upload directory. I need to move those files to another directory. I also need to mail a list of the just moved files to the user. This job will need to run every 10 minutes. I need to keep a log that holds all the files for the day that were moved, renaming it with the date/timestamp.I have this below but I just can't put it all together. a workable script out of this?

#!/bin/bash
# test.shl
source="/u03/upload/"

[code]...

View 5 Replies View Related

Ubuntu Servers :: Make Sure Cron Job Copies Files Correctly

Jul 1, 2010

I made a Bash script that is fired by a Cron job every morning. It dumps an SVN backup on some Samba shared drive. I would like to know how I can make sure the job worked correctly without having to verify the shared drive every morning. Right now, I take the job's output, save it to a log file and send this file by email. But the ouput isn't so great.

[Code]....

View 2 Replies View Related

General :: Cron Job To Create And Move Backup From Ubuntu To Windows?

Jun 15, 2010

This is Kishore and i am new to Ubuntu and SVN and please some one help me in creating a cron job for my svn backup every day at 10:30 pm I already created a cron job which looks like 30 10 * * * svnadmin dump /home/administrator/svnrepository >svn1 when i run command directly i am getting whole backup and it's size is 3.6 gb but when i run through cron job the backup size is only 9 mb. So finally my requests are 1. cron job for taking complete svn backup at 10:30 pm daily and 2. cron job to copy the SVN backup in to my windows system in d drive and this must be run every day at 11:30 pm.

View 1 Replies View Related

OpenSUSE :: Backup Important Files - Automate The Process Using Rsync And Cron

Aug 14, 2011

I would like to backup important files (totaling about 400GB) on my ext 4 RAID 5 array to an ext4 external hard drive over USB (external drive is mounted to /mnt. In the future I'd like to automate the process using rsync and cron so for now I'm using rsync to transfer the files. My problem is that using the rsync command like this: # rsync -Pr "/dir1" "/dir2" "/dir3" "/dir4" /mnt

rsync shows me the checks and transfers for awhile and then throws up an i/o error (wish I had a screenshot to show but I don't). When I ls /mnt I get a similar i/o error. I then check /dev for the drive and find that it no longer shows up. Originally the partition was /dev/sdc1. I tried unplugging the USB at this point, plugging it back in and mounting the drive back to /mnt, however it has now assigned it to (you guessed it) /dev/sdd1. I get the drive mounted and try the original rsync command again, hoping the first error was a fluke or some kind of one-time drive fart. This time it makes it quite a bit further and then throws up the exact same problem. Am I doing something terribly wrong here? As I said, I'm very new to bash so I'm not making some absolutely moronic, newbie mistake.

View 9 Replies View Related

Ubuntu Servers :: Cron Sending Email From Address / Change The Default Domain Name For Cron?

Apr 29, 2011

Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com

this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.

View 1 Replies View Related

Ubuntu Installation :: Cron's /etc/cron.daily/apt Not Upgrading?

Feb 25, 2010

It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:

Code:

ps -A | grep apt

showed it for a long time,

Code:

sudo tcpdump tcp

showed communication with canonical sites,

but:

Code:

top

did not show any apt using CPU

[code].....

View 2 Replies View Related

Ubuntu :: Do Cron Updates Erase Cron Entries

Sep 19, 2010

I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.

View 2 Replies View Related

CentOS 5 :: Setup A Cron In /var/spool/cron/root

Feb 16, 2010

I have set up a cron in /var/spool/cron/root

*/15 * * * * /usr/bin/phplist.sh

I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.

If I run /usr/bin/phplist.sh right in the shell it works great.

View 3 Replies View Related

Fedora Networking :: How To Access Shared Windows Files From Fedora System?

Mar 24, 2009

How can I access shared Windows files from a fedora system

View 3 Replies View Related

Fedora :: Copying Files Between Sata (fedora 13) And Ide (windows)?

Dec 30, 2010

I currently have three hard drives: (2) 150GB IDE drives (windows) and (1) 500GB SATA drive (fedora13). I'm trying to move files on the IDE drives to the SATA drive so that I only need the SATA drive. The SATA drive is running Fedora 13 and the other two were old NTFS drives that I just use for space now. So most of the files copied fine, however, for a handful of them I receive the following error:Error splicing file: Value too large for defined data type This happens when I try to copy files not only from drive to drive, but even from folder to folder on the same drive. I've read about a 2GB file size limit, but none of the files are that size. I have no idea why this is happening.

View 5 Replies View Related

Software :: Vixie-Cron Not Running /etc/cron.d/

Feb 9, 2011

Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.

Code:

View 2 Replies View Related

Fedora :: Viewing Windows Explorer Files?

Aug 29, 2009

how do I view files saved under windows internet explorer in linux. have tried mozilla firefox and here is what I get. is it possible to view the files as displayed in ie?

m: <Saved by Microsoft Internet Explorer 5>
Subject: installing rpm without yum no internet yet - FedoraForum.org
Date: Tue, 25 Aug 2009 00:23:04 -0400
MIME-Version: 1.0

[Code].....

also don't have internet access under linux as yet. wh at modem would you guys recommend that you know will work with linux? using dual boot ibm with windows xp h ome and linux 10

View 2 Replies View Related

Fedora :: How Can I Read EXT4 Files In Windows

Nov 19, 2009

There is explore2fs, but it does not support ext4 filesystem.

View 1 Replies View Related

Fedora :: View Files In Windows XP Partition?

Dec 2, 2010

I'm trying to view my files in my windows XP partition and I tried the following with no success:

1. updated /etc/fstab to include the following line:

/dev/sda1 /mnt/win ntfs-3g defaults 0 0

2. tried this command to mount sda1:

mount -t ntfs-3g /dev/sda1 /mnt/win (got an error message saying no such file or directory)

Here's what Fdisk shows:

Device Boot Start End Blocks Id System
/dev/sda1 * 581 8924 67023180 7 HPFS/NTFS
/dev/sda2 1 580 4658818+ b W95 FAT32
/dev/sda3 8925 8988 512000 83 Linux
/dev/sda4 8988 19458 84096000 5 Extended
/dev/sda5 8988 19458 84094976 8e Linux LVM

Since I'm pretty green at Linux, this is all I know how to do (for now). Isn't there a way for Fedora to auto mount these devices when it boots up?

View 2 Replies View Related

General :: Access Windows 7 Files From Fedora 15?

May 29, 2011

I am trying to access my Windows 7 files from Fedora 15. can view the Windows network from Linux and it displays the laptop fine. I can view the folders on the Windows 7 laptop but I can't access/open them. I receive an 'Unable to mount file' message in Linux. I have Samba installed and running fine. Is there something I have to change in the Linux firewall or samba.conf?

View 7 Replies View Related

Fedora Networking :: Network Share Files With Windows ?

Sep 1, 2011

I am trying to both access files shared by Windows machines on my network, and I also want to share files on my Fedora 15 box. In Nautilus, if I choose the 'Browse Network' option on the left toolbar, I am shown a Windows Network icon. If I try to double click this, I am given an "Unable to mount location" error. Does anyone know why this is and how to fix it? Further, where is the GNOME 3 option to right click and choose to share a folder? Both KDE 4.5/4.6 and older versions of GNOME (at least on Ubuntu) had this. Is there a way to share files this way, and if not, is there some workaround?

View 2 Replies View Related

Fedora Networking :: Access The Shared Files Of Computes With Windows?

Feb 21, 2009

i need to access the shared files of computes with windows on it.i have fedora 8 on my machine..our computers are on the same network of the office...how do i access my friend's shared file.??

View 2 Replies View Related

Fedora Networking :: Sharing Files And Printers With Windows 7 Machine

Dec 29, 2009

I'm having some problems with file and print sharing between my Fedora 12 box and my Win 7 box. trying to access shares on the Win 7 machine results in a "unable to retrieve the shares list" error message. I've been searching Google for a while now with no success.

View 3 Replies View Related

Fedora Hardware :: Browse Net All Files .exe Format Which Is Only Compatible With Windows

Jun 19, 2010

i had got an external USB modem, infact any indian would know that Reliance has this Net Connect which they give by which we can surf through the net. Although fedora is detecting this i dont know as to how i can browse the net using this since all the files are in .exe format which is only compatible with windows.

View 1 Replies View Related

Fedora :: Trash Does Not Show My Files/folders I Moved From NTFS Windows Drive

May 25, 2011

I am an Ubuntu refugee. Allow me to explain what happened. I am dual booting with Windows 7 and F15 x64.

(1) I wanted to created a shortcut of my "Documents" folder in my Windows in Nautilus
(2) I opened the Windows drive by double clicking the drive under Devices, and navigated to my "Documents" folder (F15 already has ntfs-3g installed so no hassles there)
(3) I then dragged the folder to the sidebar to place it under the Trash icon--but for some reason, it would not let me do this, and accidentally got placed in the Trash bin.
(4) problem is I can't see this folder in the Trash bin (it is not even hidden)
(5) To check if the Trash bin actually captures items when we move files/folders to Trash, I tried sending a folder from my Home directory to Trash, and the folder appears in the Trash; it can even be restored to Home.
(6) Only files/folders from the NTFS formatted Windows drive do not appear in the Trash folder if sent there.
(7) I have Google searched this problem, but to no avail.
(8) I even thought that because the drive is not mounted 'officially' I would mount it using command line:

Code:

(9) But still I can't see the folders in the Trash
(10) Interestingly, when I try to unmount the Windows drive 'formally' then I get a message if I want to "empty the Trash"--I obviously chose not to--so I know there is my Windows Documents folder in there somehere.

View 2 Replies View Related

Fedora :: Configuring Cron Job

Apr 21, 2010

I create a shell file with different commands . I am able to execute it manually . Now I want to schedule this file hourly . For this where I place this file and where I configure for time .

View 6 Replies View Related

Fedora :: Can't Get A Cron Job To Work On 11 Box

Oct 6, 2010

I can't seem to get a cron job to work on my Fedora 11 box. When I check the logs, cron is actually working. In my /etc/crontab I have an entry to run the cron job on my Moodle installation:

30 * * * * wget -q -O /dev/null http://moodle.name.name/moodle/admin/cron.php

when I run crontab -l it is not showing me anything, I am confused

View 1 Replies View Related







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