04-09-2011
Quote:
Originally Posted by
andrewust
I am the only user of this machine. So I guess I will choose (1).
Could you give me an example? I would like to create a ram disk when system starts up, so that I can use it as a temp folder. The command is:
diskutil erasevolume HFS+ 'ramdisk' `hdiutil attach -nomount ram://262144`
Thanks!
Launchd is a lot like cron, but more. You can Google for an app called Lingon, which will help you generate launchd items. You would just need to make a system deamon that runs your command and toss your plist file in /Library/LaunchdDaemons, then use launchctl to load it and you are set.
Here is an article explaining it
AFP548 - launchd in Depth
This User Gave Thanks to tlarkin For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I have an AIX 433 workstation that keeps booting into command mode. It was booting into CDE for a long time now. Suddenly now it boots into command line mode. No errors while booting up. Do not see anything in errpt. Don' t know where to start from.. Can any one please help me..thanks.
... (2 Replies)
Discussion started by: navinxavier
2 Replies
2. AIX
Hi Folks,
I have an AIX server and I would like the server to run the command saprouter -r at every system restarts. It needs to be run by a specific user. How would I do that?
Thanks!!! (1 Reply)
Discussion started by: brookingsd
1 Replies
3. UNIX for Advanced & Expert Users
How to remotely execute a script (.COM ) on a VMS system ?
rsh ?
Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies
4. Programming
Hello,
I 've trie to execute a a program with parameters unsuccessfully and i take the above message :
"The system cannot find the path specified."
I used a variaton of the above command :
system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\"");
Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies
5. Shell Programming and Scripting
Hi All,
I want to execute a piped command like 'ls /opt | grep xml' using array as parameters list. How can I do that? (2 Replies)
Discussion started by: bharadiaam
2 Replies
6. Shell Programming and Scripting
Hi,
I have a shell script in systemA and another shell script in systemB.
when I execute the script in systemA, it should call the another script in systemB.
Please tell me the way to do this.
Thanks,
Raja. (3 Replies)
Discussion started by: smr_rashmy
3 Replies
7. Ubuntu
hey all,,
I want to add comments when Ubuntu starts up..
now I know that there is a directory called /etc/init.d
which I can place my scripts there to run them at Ubuntu's startup..
but I prefer if there would be a file which runs when Ubuntu starts!!
because it is only one command. not... (2 Replies)
Discussion started by: eawedat
2 Replies
8. Solaris
I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin:
# svcs -xv
svc:/network/rpc/bind:default (RPC bindings)
State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies
9. Red Hat
hi guys,
booting centos7 and use systemd execute system command ulimit -SHn 202400 is fail.i dont know what's reason.can you give me help.
------------------------------------------
set-ulimit.service
Description=test service
After=systemd-update-utmp-runlevel.service #the last... (1 Reply)
Discussion started by: shean
1 Replies
uuxqt(8) System Manager's Manual uuxqt(8)
NAME
uuxqt - UUCP execution daemon
SYNOPSIS
uuxqt [ options ]
DESCRIPTION
The uuxqt daemon executes commands requested by uux (1) from either the local system or from remote systems. It is started automatically
by the uucico (8) daemon (unless uucico (8) is given the -q or --nouuxqt option).
There is normally no need to run this command, since it will be invoked by uucico (8). However, it can be used to provide greater control
over the processing of the work queue.
Multiple invocations of uuxqt may be run at once, as controlled by the max-uuxqts configuration command.
OPTIONS
The following options may be given to uuxqt.
-c command, --command command
Only execute requests for the specified command. For example:
uuxqt --command rmail
-s system, --system system
Only execute requests originating from the specified system.
-x type, --debug type
Turn on particular debugging types. The following types are recognized: abnormal, chat, handshake, uucp-proto, proto, port, config,
spooldir, execute, incoming, outgoing. Only abnormal, config, spooldir and execute are meaningful for uuxqt.
Multiple types may be given, separated by commas, and the --debug option may appear multiple times. A number may also be given, which
will turn on that many types from the foregoing list; for example, --debug 2 is equivalent to --debug abnormal,chat.
The debugging output is sent to the debugging file, which may be printed using uulog -D.
-I file, --config
Set configuration file to use. This option may not be available, depending upon how uuxqt was compiled.
-v, --version
Report version information and exit.
--help
Print a help message and exit.
SEE ALSO
uucp(1), uux(1), uucico(8)
AUTHOR
Ian Lance Taylor (ian@airs.com)
Taylor UUCP 1.07 uuxqt(8)