Hey there, I'm a total newbie unix guy here and just picking this stuff up. Have a very small script I put together that works fine from the command line but not once I put it in a cron job. Searched and found this thread and am wondering it it has something to do with setting variables, though the... (7 Replies)
I have a very basic script that essentially sends a log file, via FTP, to a backup server. My cron entry to run this every night is:
55 23 * * * /usr/bin/archive_logs
The script runs perfectly when executed manually, and actually worked via cron for about three weeks. However, it mysteriously... (3 Replies)
Hi all-
I'm trying to search through some .gz log files to verify certain feeds have passed through our app.
I have a small script that I wrote in hopes that I could automate the checking but haven't been able to get the zgrep to work. When I copy it to the command line directly it works... (2 Replies)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Hey guys. Hopefully this is an easy one but having reference similar problems on the web I still can't fix it.
I am doing a recursive find and replace from a script. Of course I could just run the damn thing from the command line but it's bugging me now and want to get it working.
grep -rl... (4 Replies)
Hi guys. My first post, so be gentle...
On my Solaris 10 machine vnc server is running. I need a command to extract most recent client session number (screen). So with:
Code:
bash-3.2# ps -ef | grep vnc | grep Xaut
root 19805 19797 0 15:41:44 ? 0:01 Xvnc :4 -inetd -once... (5 Replies)
I am working with a sh script on a solaris 9 zone (sol 10 host) that grabs information to build the configuration command line. the variables Build64, SSLopt, CONFIGopt, and CC are populated in the script. the script includes
CC=`which gcc`
CONFIGopt=' --prefix=/ --exec-prefix=/usr... (8 Replies)
OSX 10.9
I am building a script that evaluates the difference between 2 files. Here is a command that does not work transparently.
Running this command in Terminal yields great results; however when I put that line in a .sh script, I get the errors shown below. Am I doing something silly?
... (1 Reply)
Hi,
I am looking for a generic find command that works on both Linux and Solaris.
I have the below command that works fine on Linux but fails on solaris.find /web/config -type f '(' -name '*.txt' -or -name '*.xml' -name '*.pro' ')' Fails on SunOS mysolaris 5.10 Generic_150400-61 sun4v sparc... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT DEBIAN
gnome2::app
Gnome2::App(3pm) User Contributed Perl Documentation Gnome2::App(3pm)NAME
Gnome2::App - wrapper for GnomeApp
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Window
+----Gnome2::App
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
METHODS
widget = Gnome2::App->new ($appname, $title=undef)
o $appname (string)
o $title (string)
scalar = $app->accel_group
$app->add_dock_item ($item, $placement, $band_num, $band_position, $offset)
o $item (Gnome2::Bonobo::DockItem)
o $placement (Gnome2::Bonobo::DockPlacement)
o $band_num (integer)
o $band_position (integer)
o $offset (integer)
widget = $app->add_docked ($widget, $name, $behavior, $placement, $band_num, $band_position, $offset)
o $widget (Gtk2::Widget)
o $name (string)
o $behavior (Gnome2::Bonobo::DockItemBehavior)
o $placement (Gnome2::Bonobo::DockPlacement)
o $band_num (integer)
o $band_position (integer)
o $offset (integer)
$app->add_toolbar ($toolbar, $name, $behavior, $placement, $band_num, $band_position, $offset)
o $toolbar (Gtk2::Toolbar)
o $name (string)
o $behavior (Gnome2::Bonobo::DockItemBehavior)
o $placement (Gnome2::Bonobo::DockPlacement)
o $band_num (integer)
o $band_position (integer)
o $offset (integer)
scalar = $app->contents
$app->set_contents ($contents)
o $contents (Gtk2::Widget)
$app->create_menus ($uiinfo)
o $uiinfo (Gnome2::UIInfo)
$app->create_toolbar ($uiinfo)
o $uiinfo (Gnome2::UIInfo)
scalar = $app->dock
dock = $app->get_dock
dockitem = $app->get_dock_item_by_name ($name)
o $name (string)
$app->enable_layout_config ($enable)
o $enable (boolean)
scalar = $app->get_enable_layout_config
$app->insert_menus ($path, $menuinfo)
o $path (string)
o $menuinfo (Gnome2::UIInfo)
$app->install_menu_hints ($uiinfo)
o $uiinfo (Gnome2::UIInfo)
scalar = $app->layout
scalar = $app->menubar
$app->set_menus ($menubar)
o $menubar (Gtk2::MenuBar)
scalar = $app->prefix
$app->remove_menu_range ($path, $start, $items)
o $path (string)
o $start (integer)
o $items (integer)
$app->remove_menus ($path, $items)
o $path (string)
o $items (integer)
Gnome2::App->setup_toolbar ($toolbar, $dock_item)
o $toolbar (Gtk2::Toolbar)
o $dock_item (Gnome2::Bonobo::DockItem)
scalar = $app->statusbar
$app->set_statusbar_custom ($container, $statusbar)
o $container (Gtk2::Widget)
o $statusbar (Gtk2::Widget)
$app->set_statusbar ($statusbar)
o $statusbar (Gtk2::Widget)
$app->set_toolbar ($toolbar)
o $toolbar (Gtk2::Toolbar)
scalar = $app->vbox
PROPERTIES
'app-id' (string : default undef : readable / writable / construct)
The application ID string
ENUMS AND FLAGS
flags Gnome2::Bonobo::DockItemBehavior
o 'normal' / 'BONOBO_DOCK_ITEM_BEH_NORMAL'
o 'exclusive' / 'BONOBO_DOCK_ITEM_BEH_EXCLUSIVE'
o 'never-floating' / 'BONOBO_DOCK_ITEM_BEH_NEVER_FLOATING'
o 'never-vertical' / 'BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL'
o 'never-horizontal' / 'BONOBO_DOCK_ITEM_BEH_NEVER_HORIZONTAL'
o 'locked' / 'BONOBO_DOCK_ITEM_BEH_LOCKED'
enum Gnome2::Bonobo::DockPlacement
o 'top' / 'BONOBO_DOCK_TOP'
o 'right' / 'BONOBO_DOCK_RIGHT'
o 'bottom' / 'BONOBO_DOCK_BOTTOM'
o 'left' / 'BONOBO_DOCK_LEFT'
o 'floating' / 'BONOBO_DOCK_FLOATING'
SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window
COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
perl v5.14.2 2011-11-16 Gnome2::App(3pm)