Can't get crontab to run a bash script
location: ubuntuforums.com - date: May 17, 2012
I have been trying to get crontab to run a bash script. I have checked all the common errors, and can't figure it out. My crontab, which does end in a new line:
# m h dom mon dow command
* * * * * /home/username/development/cron_test/hello_sh.sh
* * * * * echo "hello from cron `date`" >> /home/username/development/cron_test/hello_sh_log.txt
The script I am trying to run, which runs from the command line:
echo "hello bash! `date`" >> 'hello_sh_log.txt'
echo "greeted bash."
The last entries in syslog:
May 17 07:04:01 compname CRON: (username) CMD (echo "hello from cron `date`" >> /home/username/development/cron_test/hello_sh_log.txt)
May 17 07:04:01 compname CRON: (username) CMD (/home/username/development/cron_test/hello_sh.sh)
May 17 07:04:01 compname CRON: (CRON) info (No MTA installed, discarding output)
macbook pro printscreen button
location: ubuntuforums.com - date: December 3, 2008
I've just installed Ubuntu (default Gnome) as a dual-boot option on a MacbookPro. I just realized that there's no "PrintScr" button. Is there an alternative Mac keyboard key combination that will trigger Ubuntu's screen capture utility?
Kernel .config file overwritten
location: ubuntuforums.com - date: November 24, 2012
I wanted to compile my kernel from sources. I needed to add one line in .config file, because that option is not possible to change by 'make menuconfig' (it is there when I search with '/' but there is no access to change it in menu).
But then when I start compilation, these lines are shown at startup:
scripts/kconfig/conf --silentoldconfig Kconfig
# configuration written to .config
and my .config is saved as .config.old file and new .config is created.
How can I use my manually modified .config file?
virgin drm module
location: linuxquestions.com - date: July 19, 2013
my ISP is Virgin, when I tried to access 'virgin anywhere' telly it (virgin) tried to use a DRM module, I used Debian6 in this case, it said that the module was downloaded but virgin timed me out for usage. Syslog showed problems with drm memory, are these two different things or are virgin trying to access my kernel?
installing WEB SERVER on linux (CENTOS)
location: linuxquestions.com - date: November 10, 2010
I'm trying to install a thttp web server which is part of a TI software package for embedded video systems.
after running the configuration file I did a make install which
seemed to be running and printed put lines, but eventually got error
because of chgrp command which failed. (see attached).
cp makeweb /usr/local/sbin/makeweb
chgrp www /usr/local/sbin/makeweb
chgrp: invalid group `www'
make: *** [install] Error 1
make: Leaving directory `/home/user/dvsdk_2_10_01_18/examples/dm365/thttpd-2.25b/extras'
make: *** [installsubdirs] Error 2
Can anyone give me a hint, what to do next/how to define this group?
Automatically accept incoming VNC connections?
location: ubuntuforums.com - date: June 25, 2009
Is there a way to make Ubuntu automatically accept incoming VNC connections so I'll be able to accept my computer from anywhere with an active Internet connection without having to accept each and every time? I checked the 'Configure network automatically to accept connections,' althought it still doesn't seem to be working. The UPnP function on my router is enabled so as of right now I'm completly clueless on what the problem might be.
attempt to access beyond end of device, annoyances
location: ubuntuforums.com - date: February 19, 2009
Nvidia nForce3 mainboard
SiI 3112 SATARAID fakeraid controller, onboard
2 SATA drives as RAID0 (where windows still lives)
2 IDE drives (each with separate installs of Ubuntu)
In Hardy (2.6.24-19-generic unmodified), each disk driver that loads keeps trying to play with the individual SATA drives, oblivious to the fact that they are part of a striped array.
I get the "attempt to ..." a lot while booting. No real problem in 2.6.24-19-generic, just annoying.
The -real- annoyance comes in when I try to use a newer kernel. (Intrepid just barely boots on my system)
In all of the newer kernels I've tried (I've tried 10+ other different distro's as well) the drivers choke, and booting takes forever. If it boots at all.
The 'sr' driver (isn't that for cdrom drives?) chokes on -every- drive in my system.
Here's my kern.log:
Feb 18 12:55:59 uCore64 kernel: Cannot find map file.
Feb 18 12:55:59
Why my /etc/network/interfaces does not contain eth0?
location: ubuntuforums.com - date: January 2, 2011
So far as my knowledge goes, /etc/network/interfaces is supposed to contain a list of all the available interfaces. But my /etc/network/interfaces looks like this,
iface lo inet loopback
But I have a perfectly working eth0 connection. Why does not it appear here?
What is it I might be missing?
Mandrake 10.0 PCMCIA WLAN s/u problem
location: linuxquestions.com - date: October 25, 2004
Hello all, I just installed Mandrake 10.0 via my PCMCIA CDROM (since Mandrake 10.0 does not support USB CDROM install) on my thinkpad 240 laptop. I have a 802.11 b PCMCIA wireless card that I want to use, and held off installing it due to the CDROM needing access to the only PCMCIA port during install. Now with the system up and running I want to configure the wireless card in the PCMCIA port. When I go to the configure tool it sees the wireless card in the port and begins setup. THE PROBLEM ---- During the config process it asked me to insert CD1 of the install CD set into the PCMCIA CDROM -- which now of course is unplugged to make way for the wireless card. Mandrake defaults to the drive that was used to install the OS, even though that drive is no longer connected and the USB CDROM is up and running. How do I get around this?? Thanks for your help.
Page: 1 2 3 4 5 6 7 8 9 10