Sponsored Content
Full Discussion: Run lunchd
Top Forums UNIX for Advanced & Expert Users Run lunchd Post 302542302 by xbin on Wednesday 27th of July 2011 07:15:12 AM
Old 07-27-2011
In OS X issue the following command->

Code:
sudo pmset repeat shutdown MTWRFSU 21:00:00

This will create the property list file: /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

script to run different shells which run different processes

Hi, Would like to ask the experts if anyone knows how to run a script like this: dtterm -title shell1 run process1 on shell1 dtterm -title shell2 run process2 on shell2 cheers! p/s: sorry if i used the wrong forum, quite concussed after watching world cup for several nights; but I... (2 Replies)
Discussion started by: mochi
2 Replies

2. Shell Programming and Scripting

Run a shell script from one host which connext to remote host and run the commands

I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies

3. AIX

My script didn't run every run every minute at cronjob

In my cronjob, I would like to schedule my script.sh to run every minutes. I crontab -e and have in line below but it didn't seems to run at all. * * * * * script.sh When I run it manually, I can run it. Is that anything wrong with the above line? If I change it to something like below,... (4 Replies)
Discussion started by: ngaisteve1
4 Replies

4. Shell Programming and Scripting

how to run an already made script run against a list of ip addresses solaris 8 question

how to run an already developed script run against a list of ip addresses solaris 8 question. the script goes away and check traffic information, for example check_GE-VLANStats-P3 1.1.1.1 and returns the results ok. how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
Discussion started by: llcooljatt
26 Replies

5. Shell Programming and Scripting

Who -u gives different output if run from cron than if run from terminal?

If I run 'who -u' interactively or from a script invoked through bash in a tty on my Ubuntu 12LTS box I get an output like this: testuser pts/0 Dec 9 02:32 . 2163 (host.xx.yy) running the same through cron I get: testuser pts/0 2012-12-09 02:32 00:05 2163... (2 Replies)
Discussion started by: latimer
2 Replies

6. Shell Programming and Scripting

Script for telnet and run one command kill it and run another command using while loop

( sleep 3 echo ${LOGIN} sleep 2 echo ${PSWD} sleep 2 while read line do echo "$line" PID=$? sleep 2 kill -9 $PID done < temp sleep 5 echo "exit" ) | telnet ${HOST} while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies

7. Shell Programming and Scripting

Script fails to run properly when run from CRONTAB

Hello all, I'm trying to write a script to gather and send data and it works just fine at the bash command line, but when executing from CRON, it does not run properly. My scripting skills are pretty limited and there's probably a better way, but as I said it works at the command line, but... (12 Replies)
Discussion started by: rusman
12 Replies

8. UNIX for Dummies Questions & Answers

Scripts can be run manually but couldn't run with cronjobs

I am from MQ/MB technology. My requirement is to display the queue manger and broker status on daily basis. If I manually run the script, it works fine and displays output. But when I have scheduled the same using cronjobs it shows only the queue manger status and not the broker status. Can... (3 Replies)
Discussion started by: Anusha M
3 Replies

9. Shell Programming and Scripting

Run a job between times else run later

Hi guys, I have written a script that waits for a trigger file. Then checks the time of the trigger. if the trigger finished between 8pm and midnight then runs a job. else it waits till 1am then runs a different job. I am still very new to scripting so any suggestions to improve my... (4 Replies)
Discussion started by: twinion
4 Replies

10. Shell Programming and Scripting

Shell script run in a case statement call to run a php file, also Perl

Linux System having all Perl, Python, PHP (and Ruby) installed From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file eg eg a Shell script run in a case statement call to run a php file, also Perl or/and Python file??? Like #!/usr/bin/bash .... .... case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
smbd(8) 						    BSD System Manager's Manual 						   smbd(8)

NAME
smbd -- SMB server daemon SYNOPSIS
smbd [options] DESCRIPTION
smbd runs on a server machine to service SMB protocol requests from SMB client machines. OPTIONS
-debug The service will log extensive debug information and may perform extra diagnostic checks. In debug mode, smbd will not exit when idle. -help Prints a usage message and exits. -ports list The service will listen on each of the TCP ports specified in the comma-separated list. This option is typically only used for debugging, since smbd is normally launched by launchd(8) on port 445. -stdout Causes smbd to print log messages to standard output instead of the system log. -no-symlinks In normal operation, smbd will respond to client symlink requests but will never follow symlinks itself. This flag causes smbd to restrict client access to symlink operations and to always follow symlinks. In this case, clients will not be aware that symlinks are in use because they will always be directed to the symlink target. FILES
/Library/Preferences/SystemConfiguration/com.apple.smb.server.plist The primary configuration for the SMB stack. This file is updated by various system services and should not be edited by hand. /System/Library/LaunchDaemons/com.apple.smbd.plist The smbd service's property list file for launchd(8). SIGNALS
SIGHUP This signal causes smbd to re-read its configuration settings. SEE ALSO
launchd(8) STANDARDS
The SMB protocol is documented as part of the Microsoft Work Group Server Protocol Program (WSPP) technical documentation set, specifically MS-CIFS Common Internet File System Specification MS-SMB Server Message Block (SMB) Protocol Specification HISTORY
The smbd utility first appeared in Mac OS 10.7. Darwin June 1, 2019 Darwin
All times are GMT -4. The time now is 01:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy