Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Script to automate a service message Post 303005998 by Gamma on Wednesday 25th of October 2017 05:02:35 PM
Old 10-25-2017
Hi

Its an application used for criminal justice system running on backend WebSphere/Linux and DB2.

You cant do it from the app, otherwise it would have been done but its been done manually by editing the service.message file but we just want this portion updated...whether its a one liner, realistically speaking not really required to invest time and effort but business want this automated so the transition team then can support the app and run the automation in future.

I was looking at SED, today, maybe there is some way to set this up...
Hope this Helps.

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

automate the input in a script

I have a program that i have to run by cron. The program needs user input. So i have to automate that in a littke script. start of script program.sh: result=program.log; export result echo Program starting : `date` >> $result /usr/local/program >> $result echo Program running : `date` >>... (11 Replies)
Discussion started by: erwinspeybroeck
11 Replies

2. Shell Programming and Scripting

here document to automate perl script that call script

I am trying to use a here document to automate testing a perl script however when the perl script hits a system(perl subscript.pl) call, input is no longer entered into this subscript. here is my script $ cat test.sh #ksh for testcase do program <<-EOF | tee -a funcscnlog.log y... (3 Replies)
Discussion started by: hogger84
3 Replies

3. UNIX for Advanced & Expert Users

Shell Script to Automate

I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote #!/bin/bash cd /var/tmp /home/server/steve/pca --askauth -idx /opt/app/bin/expect <<EOF expect... (1 Reply)
Discussion started by: sam786
1 Replies

4. Shell Programming and Scripting

Automate shell script

I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote #!/bin/bash cd /var/tmp /home/server/steve/pca --askauth -idx /opt/app/bin/expect <<EOF expect... (3 Replies)
Discussion started by: sam786
3 Replies

5. Shell Programming and Scripting

Automate Script ***V. Urgent

Hi All, ./procdure.ksh which opens the below the menu, I want to build a script which will press 4 and run the Sector Data Automatically (instead of pressing option 4 manually) Is there any way for this, please let me know... 1) FX Rates MDU 9) Fidessa Cash... (7 Replies)
Discussion started by: niceboykunal123
7 Replies

6. UNIX for Dummies Questions & Answers

Message Service Using kannel

Any body having idea or implemented SMS service with kannel..? Please help... (1 Reply)
Discussion started by: noufal
1 Replies

7. Shell Programming and Scripting

How can I automate a script?

Hi All, Can I automate a script when some one trying to 'vi' (open) a file. For Example, I am having a file named 'SecuredShell.sh'. when a user types " vi SecuredShell.sh " in unix command prompt a script named secure.sh needs to be automated. Can this be possible. if Yes please guide... (2 Replies)
Discussion started by: little_wonder
2 Replies

8. Shell Programming and Scripting

mail script to automate

Hi, Here below the logs from the mail server: less /var/log/messages: Sep 6 04:03:31 server-59 out: 1252227811|webmaster@zilia.com|antonino.granata@gmail.com|2175|success|1 Sep 6 04:03:33 server-59 in: 1252227813|news@tarot.com|junk@thess.com|30376|success|1 Sep 6 04:03:35 server-59... (8 Replies)
Discussion started by: gsiva
8 Replies

9. AIX

Short Message Service from AIX

Hi AIX Guru's, I am a bit new to this AIX stuff . Does anyone of you know how to send SMS messages from an AIX box. We are able to send emails to the internet from this AIX box , and I was hoping sending SMS's would be something similar Any help would be greatly appreciated . Please... (4 Replies)
Discussion started by: smdasim
4 Replies

10. Windows & DOS: Issues & Discussions

automate the script

Dear all, I I want to login to my Linux machine using putty and then run some script from Windows machine.we can do it after loging it and then execute the script by typing it in putty command line screen. but I want to automate it.So whenever I will fire this script,it will do the following... (4 Replies)
Discussion started by: smartgupta
4 Replies
Gnome2::VFS::Mime::Application(3pm)			User Contributed Perl Documentation		       Gnome2::VFS::Mime::Application(3pm)

NAME
Gnome2::VFS::Mime::Application - functions for getting information about applications and components associated with MIME types METHODS
application = Gnome2::VFS::Mime::Application->new_from_desktop_id ($id) o $id (string) Since: vfs 2.10 application = Gnome2::VFS::Mime::Application->new_from_id ($id) o $id (string) string = $app->get_binary_name Since: vfs 2.10 string = $app->get_desktop_file_path Since: vfs 2.10 string = $app->get_desktop_id Since: vfs 2.10 string = $app->get_exec Since: vfs 2.10 string = $app->get_generic_name Since: vfs 2.10 string = $app->get_icon Since: vfs 2.10 boolean = $application->is_user_owned result = $app->launch (...) o ... (list) of URI strings Since: vfs 2.4 result = $app->launch_with_env ($uri_ref, $env_ref) o $uri_ref (scalar) o $env_ref (scalar) Since: vfs 2.4 string = $app->get_name Since: vfs 2.10 boolean = $app->requires_terminal Since: vfs 2.10 $application->save string = $app->get_startup_wm_class Since: vfs 2.10 boolean = $app->supports_startup_notification Since: vfs 2.10 boolean = $app->supports_uris Since: vfs 2.10 ENUMS AND FLAGS
enum Gnome2::VFS::Result o 'ok' / 'GNOME_VFS_OK' o 'error-not-found' / 'GNOME_VFS_ERROR_NOT_FOUND' o 'error-generic' / 'GNOME_VFS_ERROR_GENERIC' o 'error-internal' / 'GNOME_VFS_ERROR_INTERNAL' o 'error-bad-parameters' / 'GNOME_VFS_ERROR_BAD_PARAMETERS' o 'error-not-supported' / 'GNOME_VFS_ERROR_NOT_SUPPORTED' o 'error-io' / 'GNOME_VFS_ERROR_IO' o 'error-corrupted-data' / 'GNOME_VFS_ERROR_CORRUPTED_DATA' o 'error-wrong-format' / 'GNOME_VFS_ERROR_WRONG_FORMAT' o 'error-bad-file' / 'GNOME_VFS_ERROR_BAD_FILE' o 'error-too-big' / 'GNOME_VFS_ERROR_TOO_BIG' o 'error-no-space' / 'GNOME_VFS_ERROR_NO_SPACE' o 'error-read-only' / 'GNOME_VFS_ERROR_READ_ONLY' o 'error-invalid-uri' / 'GNOME_VFS_ERROR_INVALID_URI' o 'error-not-open' / 'GNOME_VFS_ERROR_NOT_OPEN' o 'error-invalid-open-mode' / 'GNOME_VFS_ERROR_INVALID_OPEN_MODE' o 'error-access-denied' / 'GNOME_VFS_ERROR_ACCESS_DENIED' o 'error-too-many-open-files' / 'GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES' o 'error-eof' / 'GNOME_VFS_ERROR_EOF' o 'error-not-a-directory' / 'GNOME_VFS_ERROR_NOT_A_DIRECTORY' o 'error-in-progress' / 'GNOME_VFS_ERROR_IN_PROGRESS' o 'error-interrupted' / 'GNOME_VFS_ERROR_INTERRUPTED' o 'error-file-exists' / 'GNOME_VFS_ERROR_FILE_EXISTS' o 'error-loop' / 'GNOME_VFS_ERROR_LOOP' o 'error-not-permitted' / 'GNOME_VFS_ERROR_NOT_PERMITTED' o 'error-is-directory' / 'GNOME_VFS_ERROR_IS_DIRECTORY' o 'error-no-memory' / 'GNOME_VFS_ERROR_NO_MEMORY' o 'error-host-not-found' / 'GNOME_VFS_ERROR_HOST_NOT_FOUND' o 'error-invalid-host-name' / 'GNOME_VFS_ERROR_INVALID_HOST_NAME' o 'error-host-has-no-address' / 'GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS' o 'error-login-failed' / 'GNOME_VFS_ERROR_LOGIN_FAILED' o 'error-cancelled' / 'GNOME_VFS_ERROR_CANCELLED' o 'error-directory-busy' / 'GNOME_VFS_ERROR_DIRECTORY_BUSY' o 'error-directory-not-empty' / 'GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY' o 'error-too-many-links' / 'GNOME_VFS_ERROR_TOO_MANY_LINKS' o 'error-read-only-file-system' / 'GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM' o 'error-not-same-file-system' / 'GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM' o 'error-name-too-long' / 'GNOME_VFS_ERROR_NAME_TOO_LONG' o 'error-service-not-available' / 'GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE' o 'error-service-obsolete' / 'GNOME_VFS_ERROR_SERVICE_OBSOLETE' o 'error-protocol-error' / 'GNOME_VFS_ERROR_PROTOCOL_ERROR' o 'error-no-master-browser' / 'GNOME_VFS_ERROR_NO_MASTER_BROWSER' o 'error-no-default' / 'GNOME_VFS_ERROR_NO_DEFAULT' o 'error-no-handler' / 'GNOME_VFS_ERROR_NO_HANDLER' o 'error-parse' / 'GNOME_VFS_ERROR_PARSE' o 'error-launch' / 'GNOME_VFS_ERROR_LAUNCH' o 'error-timeout' / 'GNOME_VFS_ERROR_TIMEOUT' o 'error-nameserver' / 'GNOME_VFS_ERROR_NAMESERVER' o 'error-locked' / 'GNOME_VFS_ERROR_LOCKED' o 'error-deprecated-function' / 'GNOME_VFS_ERROR_DEPRECATED_FUNCTION' o 'error-invalid-filename' / 'GNOME_VFS_ERROR_INVALID_FILENAME' o 'error-not-a-symbolic-link' / 'GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK' o 'num-errors' / 'GNOME_VFS_NUM_ERRORS' SEE ALSO
Gnome2::VFS COPYRIGHT
Copyright (C) 2003-2007 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2::VFS for a full notice. perl v5.14.2 2011-11-15 Gnome2::VFS::Mime::Application(3pm)
All times are GMT -4. The time now is 01:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy