Basically, Apple decided to get rid of all other launch daemons and have one to rule them all, launchd. You can write a script and toss it, in lets say, /usr/sbin/myscript.sh
Next you can create a launchd item that will run at log in or start up for every user by placing the .plist file in /Library/LaunchDaemons
example:
If you want it to run for specific users, you toss it in ~/Library/LaunchAgents for that particular user.
Hi,
I am trying to run simple client server c program in unix.At the compling stage server is creating an executable but the client is not.
below is the link to the source codes:
http://www.cs.rpi.edu/courses/sysprog/sockets/server.c
http://www.cs.rpi.edu/courses/sysprog/sockets/client.c
... (2 Replies)
Hey Every one
I have a find statement which find the files and deletes them
find /web/local/orderlink/batchmanaged01/scripts/SMOappLogs/log -name 'orderlink.log.*' -type f -mtime +$10-exec rm -f {} \;
This statement if finds a file at the given location it will delete the files but if it... (4 Replies)
Hi, I know nothing about Unix. Recently received image files from a client. Mac sees it as a Unix executable file. How do I convert these files to Tiff?
Thanks for helping. (1 Reply)
hello Folks,
once we compile any C code on Linux, we run the code using "./a.out"..
but can we have an executable for every program so that we can run the code directly without compiling the code every time.
just run the executable and get the output!
Thanks! (7 Replies)
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer (6 Replies)
Hi,
I want to write an executable file in unix env to go to a particular path instead of always typing the long path cd /app/oracle/product/10.2.0/Db_1/scripts/prejib/sample.
I have tried with the below script in but not working . please help me
bash-3.00$ cat a.sh
#!/bin/sh ... (3 Replies)
Hi Friends,
I have a shell script which does some operations etc, would it be possible to create an executable file out from this shell script? meaning the executable file is not editable, thus the source code will not be visible to other users for copyright reasons.
Please help, thanks! (1 Reply)
Hi group,
I am very beginner in shell scripting and self learning.
I am trying to create and executable script to run awk from user defined variables.
e.g. suppose from a given file I want to delete some rows or some columns
We need to repeat this process for many files. Thus I was... (4 Replies)
Hi all...
Had an idea tonight which could really enhance shell scripting for me.
Yes I am aware there could be difficulties but......
Creating a C script inside the shell script to do a task, (a simple text print to stdout in
this example), compiling it on the fly, making sure it is... (4 Replies)
Discussion started by: wisecracker
4 Replies
LEARN ABOUT OSX
xgridctl
xgridctl(8) BSD System Manager's Manual xgridctl(8)NAME
xgridctl -- Xgrid Daemon Control Interface
SYNOPSIS
xgridctl [target] action
OPTIONS
The optional target is one of the following:
controller perform the action for the xgricontrollerd daemon
agent perform the action for the xgridagentd daemon
The action is one of the following:
status print status for the chosen daemon, or print status for all daemons if no target is specified
start enable and start the chosen daemon, or start all enabled daemons if no target is specified
stop disable and stop the chosen daemon, or stop all daemons if no target is specified
restart stop and then enable and start the chosen daemon, or stop all daemons and then start all enabled daemons if no target is speci-
fied
RETURN VALUES
0 completed succesfully
1 an error occurred
FILES
/usr/libexec/xgrid/xgridagentd
agent daemon
/usr/libexec/xgrid/xgridcontrollerd
controller daemon
/System/Library/LaunchDaemons/com.apple.xgridagentd.plist
agent launchd control file
/System/Library/LaunchDaemons/com.apple.xgridcontrollerd.plist
controller launchd control file
EXAMPLES
Print status of agent and controller:
$ xgridctl status
Start the controller and set it to run at startup:
$ xgridctl controller start
Stop the agent and set it to not run at startup:
$ xgridctl agent stop
SEE ALSO xgrid(1)launchd(8)HISTORY
This program was first introduced in Mac OS X 10.4 "Tiger". It was inspired by apachectl(8). The "on" and "off" actions were deprecated in
Mac OS X 10.5 "Leopard".
BUGS
Bug reports can be sent to bugreport.apple.com
Mac OS X April 2, 2009 Mac OS X