General :: Run A Job On First Login Of Each Day Using Cron Or Something Similar?

Jul 12, 2010

I need to run a script when i login for first time in a day. I may reboot or shutdown and then power on during the day. But i do not want the job to run during those power ups. It should run only once per day.

View 3 Replies


ADVERTISEMENT

General :: How Can Interactive Login Environment Be Duplicated In Cron

May 24, 2010

My execution environment is Linux steamboy 2.6.31-21-generic-pae #59-Ubuntu SMP.If I log in and run a program, the program works properly. The program is a shell script, which executes an environment file, so that path and library settings point correctly.If I have cron run the same program as the same user who logged in, one of the libraries cannot be found. I have sourced .bashrc and the same environment setting file, even though .bashrc executes the same environment file . /home/amr/bin/informix_env.sh

View 1 Replies View Related

Ubuntu :: Is Ssh Remote Login Similar To Hacking

Mar 9, 2010

is ssh remote login similar to hacking?

View 2 Replies View Related

Software :: Login As Root Similar Normal User?

Dec 12, 2008

I need to login as root , when linux starts to show login window

But it shudnt be as
1) spawning a new terminal and do commands lik startx -- :3
2) without going in recovery mode

I need to login through login window as normal process

View 7 Replies View Related

Networking :: Creating Red Hat Network Similar To Active Directory(netwok Login)?

Sep 22, 2009

I want to create a network similar to windows network on linux .Users should have profiles and can do network login similar to active directory on windows.

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

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

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

General :: Backtrack4 Similar To Fedora?

Jun 8, 2010

install an o.s called Backtrack4,which basically consist of tools such as metasploit,nmap etc since i am interested in knowing and improving my knowlege on such programs,BUT what stops me from installing backtrack4 is that i am bothered whether the commands that work in redhat/fedora(yum,grep,ps,etc) will work in backtrack4??Is Backtrack one of the distros of linux?

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

General :: Syncing Two 90 Percent Similar Folders?

Nov 21, 2010

I have a project folder that I pass back and forth between my desktop and laptop via Samba. Both are running Debian. The folder is large. I would like to be able to change a few files in the folder on my desktop and then "update" the folder on my laptop without having to pass the entire folder back over the network.

View 3 Replies View Related

General :: Put Similar Type Of ICONS Together In Fedora 13?

Jun 23, 2010

I have been trying to put same type of items (rather icons) together, my concept is same like windows where I can put that by right click and--> arrange icons by --> group,So folder icons come together, pdf files come together etc etc and there is a separation between any two types of items (icons)Can I have that facility here too, I am using fedora 13, and when ever I rightclickunde arrange items --> name type size etc comesbut group by items is missing.Also here refresh option is missing, what we very much familiar in windows, I know that fedora is not windows, but I think this problem can be solved.

View 4 Replies View Related

General :: Terminal Emulator Have The Similar Function That Can Be Run ?

Feb 2, 2010

We use Netterm as terminal emulator on windows , it works fine , is there any terminal emulator have the similar function that can be run on Linux ?

View 13 Replies View Related

General :: Torrent Client For Ubuntu Similar To UTorrent

Sep 24, 2010

Possible Duplicate: Torrent client for Ubuntu similar to uTorrent What is a good bittorent client for Linux? So far I used uTorrent on Windows, but recently I moved to Fedora and I saw that uTorrent doesn't support Linux.

View 5 Replies View Related

General :: Kernel - Memtest86+ (or Similar) Background Service?

May 28, 2011

Has Linux some mechanism to test memory online as a background job, flag bad memory as unusable and warn the user if memory is faulty? Much like running Memtest86+ on a little chunk of memory every nth minutte until all memory is tested and then repeat over.

Edit: I did not make it clear that I want such a service running in the kernel. A (peak) performance hit should be avoided by running the test in small steps and only when the system have some CPU cycles to spare

Edit2: I meant this as a Linux kernel service that scans the memory in the background. Not meant to be run in userspace but a routine in the kernel itself, perhaps in the memory manager to make sure memory are sane!

View 2 Replies View Related

General :: Windows - Wi-Fi File Transfer Similar To Bluetooth?

Sep 12, 2011

It's a pity that Wi-Fi is used only for network and internet connection. There's no information on a thing that can seem so simple - file transfer via Wi-Fi.I can imagine it similarly to how Bluetooth does it (or Wi-Fi spot search which is already implemented), but no, it requires complicated LAN setup.What I want is an easy cross-platform solution to transfer files via Wi-Fi.

View 1 Replies View Related

General :: Incremental Copy Command Similar To Windows?

Jul 28, 2011

Any please help me for incremental copy command similar to windows.commad for copying in windows is c: source xcopy *.* destination /s/c/d/q/yany similar command is there in linux as I m new in Linux

View 4 Replies View Related

General :: Grub (or Similar) Slow Down Boot Process?

Oct 30, 2010

I wonder and hence ask you whether there is a difference in boot time between two systems when just one of them features grub at the boot stage.

View 7 Replies View Related

General :: Create User Similar To Root Privileges?

Feb 20, 2010

i do need to create 1 user who has similar to root privileges but the username will not be root.

View 13 Replies View Related

General :: Collaboration Server W GUI Similar To Cobalt Cube?

Jul 23, 2010

I am returning to Linux after falling of the Wagon to Microsoft land. Would like to go back to developing on a GNU collaboration package - very mutch like cobalt cube. Can anyone make a suggestion as to a package, app, or appliance. Would consider packaged hardware with software. I heard a freind mention Pogo.

Web based Email
Password protected groups w/private HTML/XML
Threaded discussions private and public
Administrative functions user administration
Perl/ CGI scripting support

[Code]...

View 1 Replies View Related

General :: Windows - Set Up A Virtual Machine In A Similar Way To A Headless Server?

Aug 16, 2011

I have an Ubuntu Desktop 11.04 virtual machine using VirtualBox on my Windows 7 system.

Up until now I have been doing all my development within the Ubuntu environment but unfortunately, I don't like it. I want to move back to Windows, which is much more familiar to me but I would still like to access the virtual box like a virtual server as it is already set up with Apache, PHP, Pear, Git etc...

How can I make the two work in harmony? I essentially want to be able to start the VM and connect to it as if it was a server machine somewhere on my network, without having to actually buy another machine to put on my network.

View 3 Replies View Related

General :: Bash Script To Categorize Folders On Similar Names?

Oct 10, 2010

Any script to categorize folders with similar name into one directory. For example: There are 4 directories named LinuxFedora, LinuxUbuntu, WindowsXP and Windows7. The script should be able to create two folder named Linux and Windows wheree respective directories are moved.

Next example: If there are many folder as below:
DevLys 010
DevLys 010

[code]...

View 1 Replies View Related

General :: Ping Similar Command For Checking Server Services?

Jan 25, 2011

I am looking for a command line utility like ping that can use for checking appropriate services on a server . I do not want do any port scan . I just want to use it for checking apache , mail,ftp and other services on a server if they are running or down.

View 3 Replies View Related

General :: When Running Echinus Can Scrollbars And Similar Window Elements Be Skinned?

Apr 22, 2011

I see on the website URl...screenshots number 5 and 6 -- what is used to to get these style of scrollbars? When I launch Opera I get a very ugly scrollbar that does not fit the look of the wm whatsoever.

View 1 Replies View Related

General :: Copy The Contents Of A Txt File To Other Txt Files (with Similar Names) By Cp Command?

Jul 2, 2010

Code:
cp -r aa123.h aa*.h
results in
Code:
cp: target `aa456.h' is not a directory

Yes I read man page cp (1p). There is something written there about it, I couldn't understand though.

View 7 Replies View Related

General :: Start Using A Setup Similar To Exchange For Emails But On Ubuntu - Does Anyone Have Any Reccs?

Jan 13, 2010

Would like to start using a setup similar to exchange for emails but on Ubuntu - does anyone have any reccs? Something pretty easy to setup, user friendly, have a caleneder etc.

View 2 Replies View Related

General :: Will Cron Run If It Is Currently In Use?

Oct 28, 2009

I have a php script that checks versions of a remote stock file every 15 minutes. When it discovers that a new version is available it downloads the new file and runs it through a series of scripts that prepare it for an e-commerce application. It takes about an hour to import the file and process it. Otherwise, it echos "file on remote host not newer than local file". The stock file is updated every 3 or four hours and it's never at the same time. So we would like to run this script every 5, 10, or 15 minutes to make sure we have updated files.

So what happens when my php script finds a new file and takes an hour to do its work? Will the cron be activated three more times during this span? In other words, will it keep starting over even if its still running from a previous cron? Is there a way to stop the cron from running while the file download and processing occur, and then resume when its finished?

View 6 Replies View Related

General :: How To Use 'AT' Or Cron

Mar 17, 2010

How can I run a scheduled job in a specific hour minute second (hh:mm:ss) I tried "at" but I do not know how to send it "seconds".

View 5 Replies View Related







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