Stop outgoing connections at a certain time

Hi,
Can i stop outgoing and incoming connections at a certain time? I don't want to use the parental controls in system preferences, because my son goes to different websites all the time.
Thanks

Hi there,
Depending which Interface you use, I think you could Script this and tie it to an iCal event or CRON event...
sudo ifconfig en1 down
See this for some info on how to execute sudo without a password prompt...
http://discussions.apple.com/thread.jspa?threadID=890886
http://forums.macosxhints.com/archive/index.php/t-42593.html
http://forums.macosxhints.com/archive/index.php/t-42593.html

Similar Messages

  • How to stop a while loop after certain time using Elapsed time vi

    how to stop a while loop after certain time using Elapsed time vi.

    Hi Frankie,
    Just place the Elapsed Time VI inside the WHILE loop, and wire the 'Time Has Elapsed' output to the conditional terminal in the lower right corner (which should be set to 'stop if true' by default).
    In the future, please post your LabVIEW questions to the LabVIEW Forum.  You have a much better chance of getting your questions answered sooner, and those answers can then help others who are searching the LabVIEW forums.  Thanks!
    Justin M
    National Instruments

  • Mail wont connect after a certain time

    Ok my mail accounts all work great....i have 5 set up and no problems connecting and retrieving mail......but every now and then the mail will just search for mail continuously to no end......never retrieves any new mail even though its there.....just doesnt connect to the server.....the only way to get this back to normal is to do a reset by holding down the home button and power button......this has happened s few times so far.....any ideas? thanks

    I read that if you hold down the home button and keep it depressed until you return to the launch screen it effectively corrects the problem. I don't know, but I had the problem a few days ago, tried that, and haven't experienced it since.

  • Flash media server stops accepting connection.

    We have one application in which we are using flash media server 2.0.5. We dont know why it's stop taking connection occasionally at that time we can't enter into the managment console. We get a white screen. When we try to enter user name and password it's does not accpet the credentials. We are not getting anything in the log.
    Port number 1935 and 1111 of the particular system where FMS has placed are working fine.
    Does anybody have any idea why we are facing this problem?

    That's a pretty old version, have you thought of upgrading?
    There are a few reasons this could be happening. You could be reaching the limit for connections or bandwidth.
    There could be a problem in your server side coding that is stalling the app.
    There could be a problem with the service itself and it's maxing out on memory or CPU. I don't know why you are getting a white screen for anything, the management console has never been white for me and I suspect that it's more of a local computer problem unless it's the same computer you are running the service on..
    Any more information on the license, server hardware or environment?

  • How can I set up a program to stop at a certain time, or after a period of time?

    I am using LabVIEW to measure dc voltages over a period of time. The data is exported into an Excel file.  I would like to be able to set up the program to stop at a certain time, or after a certain number of hours.  This way when I run a test that will start near the end of the week and would stop on say, Saturday, it will not continue to record all the data after that, which I do not need. I would love to be able to set a time for it to end, but I  also wouldn't mind having it end, or stop recording data, after a certain voltage has been reached.

    Its hard to say without knowing more about how your program is set up.  Assuming the data aquisition is in a while loop, you can just wire a bunch of different stop conditions into a compound math node.  Then right click on it and select "OR".  A caveat about the comparisons I used in my little example: Comparing DBLs can lead to unexpected results when the two values are very close together.
    Message Edited by jasonhill on 06-16-2006 10:59 AM
    Attachments:
    stop the loop.PNG ‏5 KB

  • IPod Shuffle 2nd Gen, blinks 3 times and stops (Only connected to power outlet))

    Its a iPod Shuffle 2nd generation of 1GB. When I connect it to a power outlet via Apple's USB Adapter, it blinks 3 times and then it stops until I reconnect it again (reconnecting leads to the same thing). When I turn it on, it functions normally. I haven't used it in a long time ago, but I connected it a long time to iTunes to pass songs and when I turn it on it'
    When I connect it to iTunes, it's the same, but iTunes recognizes it as a non-problem iPod. It even charges connected to iTunes (but it only blinks 3 times after connecting it and it's over, but keeps connected)
    I think it even charges with iTunes, i can copy songs and everything. But I don't want to be stuck at a computer every time i need to charge

    Hello adrian,
    Thank you for contacting Apple Support Communities.
    The iPod user guide has a section covering the actions of the status lights. See page 8 in the following guide:
    iPod shuffle Features Guide
    http://manuals.info.apple.com/MANUALS/0/MA197/en_US/iPod_shuffle_Features_Guide. pdf
    Regards,
    Jeff D.

  • After recent upgrade to Yosemite on Macbook air bluetooth audio cuts out and associated video stops with audio. Likewise with airplay and Apple TV. I have deleted all my saved wifi connections and restarted numerous times. I do not expect a resolutio

    After recent upgrade to Yosemite on Macbook air bluetooth audio cuts out and associated video stops with audio. Likewise with airplay and Apple TV. I have deleted all my saved wifi connections and restarted numerous times. I do not expect a resolution from the community, but hope to get the attention of Apple engineers. If you are having same problems or have a miracle cure I am all ears.

    May start my own thread, but I'm having similar issues.
    I've been using an old iMac (running 10.7.5) and Apple TV for years with no issues. Last week I bought a new Macbook Pro running Yosemite and have had audio issues multiple times. The weird thing is that sometimes it works flawlessly, other times (like now) I spend half an hour just trying to get a song to play.
    My issues are: When I got to "computers" in Apple TV to stream my music, my music is sometimes chopper or intermittent, and I seen to know when it's going to happen based on the status wheel just before it plays. When I choose a song, the status wheel will spin for an unusually long time, usually an indicator that the audio is either not going to work, or stutter.
    When it does finally pull up a song, the playhead sits at the beginning of the song for a good 3-5 seconds before actually playing. Then, when it starts playing, it's all downhill. It will play a few seconds, drop out, play a few more seconds, drop out, and then ultimately the playhead will keep moving across the song as if it's playing, but there's no audio.
    Again, this is a new phenomenon never experienced by me. I've tried everything I could think of, some of them all at once:
    • restart Apple TV
    • restart Macbook Pro
    • quite iTunes/open
    • turn off Home Sharing on iTunes then reconnect it
    • unplugging and cycling both my modem and router
    None of these have alleviated the problem.
    The odd thing is, like this morning, the audio started up perfectly and never gave me any issues. It wasn't until later in the day that it started. Perhaps after the macbook pro had been put to sleep? Not sure.
    Regardless, this is an annoying trait, one that's new to me and my system (as stated, worked flawlessly until my new purchase), and is 100% limited to either a) the macbook pro b) Yosemite or c) both of them.

  • PS3/VITA Internet connection failed certain times ...

    During certain times of the day (morning/afternoon) my ps3 and vita won't go online. I was able to get on fine at around 8pm last night but today neither of them will get an internet connection, they both get an IP fine and everything else connects fine (iPhone galaxy s4 Google nexus) I phoned customer support but they couldn't help me and pointed me towards tech experts but in all honesty I don't see why I should have to sign up with another premium service just to get my internet working how it should have worked from day 1.
    I'm no expert in network administration but I know enough to know that it isn't my ps3 or vita with the problem, so I figure it must be some setting on the home hub 4 but ive tryed changing the settings multiple times and it makes no difference, but since I got it to work 3 days ago I've kept the settings the same, I just don't get why it will work then I goto sleep wake up the next day and its failing again? 
    Soif anyone could help me I'd be forever in your debt, I feel like I should have just stayed with talk talk as I never had a problem with them.

    Is there some reason why you've not upgraded to 10.5.5?
    That might be part of your problem at least.

  • Schedule job with JOB_CLOSE until a certain time

    Hello all,
    I'd like to schedule a background job with JOB_CLOSE until a certain time, i.e. first start time at 10 a.m., repitition period 15 min., last start time 1 p.m.
    I tried this using parameter LASTSTRTTM, e.g.:
    i_startdate = sy-datum.
    i_starttime = '100000'.
    i_prdmins = '15'.
    i_laststrtdt = sy-datum.
    i_laststrttm = '130000'.
    CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = l_jobcount
          jobname              = 'MY_JOB'
          sdlstrtdt            = i_startdate
          sdlstrttm            = i_starttime
          laststrtdt           = i_laststrtdt
          laststrttm           = i_laststrttm
          prdmins              = i_prdmins
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          OTHERS               = 8.
    but I didn't succeed - the job didn't stop at 1 p.m. Any hints?
    Best regards
    Martin Lehmann

    Hi Martin,
    i_startdate = sy-datum.  " 1st time Job Start Date
    i_starttime = '100000'.
    i_prdmins = '15'.
    i_laststrtdt = sy-datum.  " If Job is not started by this date, then it wont be started once this date is completed
    i_laststrttm = '130000'.
    What it means is, if i want to start a job by 10th Oct.. & expect that it should be started maximum by 20th Oct.. If its 20th Oct & still the job is not started,... then terminate the job & do not start it..
    If the job is already started, then it wont stop.
    Hope its clear.
    Best regards,
    Prashant

  • Update Podcasts at a certain time of day

    My ISP limits bandwidth during certain times of the day, and if I exceed a quota during the restricted hours, my connection speed is lowered. Is there a way to set iTunes to check for podcast updates / purchases at a user specified time of day?

    I'm looking for the solution to this issue too. Once or twice, a full system restart has seemed to solve the problem temporarily but it slips back to an afternoon refresh after a few days.
    Seems like it would be simple for Apple to allow us to specify a time of day for refreshes in the preferences section.

  • How to stop the animation at a certain frame?

    Well, as the title already says, how can I stop my animtation at a certain frame. Is it only possible due setting up a timer, or can I also enter a code that stops at a certain frame?
    And when I stop the animation, will my buttons still be able to get clicked?
    Greetings,
    Coyke

    Thanks for the usefull reply, the problem was that i forgot the add a new keyframe that's why I couldnt make it in the frame I wanted.
    I will have between 15 and 20 buttons that need to be able to get clicked when my animation is stopped, I first imported them to my library, then placed everything where I wanted it to be. Then created them as a Symbol (Selected Button!). Then I created instance names for every single of them.
    With the code that's downstairs I want to let my animation go to frame 200 when I click on the button "Middenknop" while the animation is paused. But now i get this error:
    TypeError: Error #1009: Kan geen eigenschap of methode benaderen via  een verwijzing naar een object dat null is.
         at Animatie2_fla::MainTimeline/frame1()
    Here's the code I am currently using:
    import flash.events.MouseEvent;
    //---Middenknop eigenschap verandering---\\
    Middenknop.addEventListener(MouseEvent.CLICK, basisClick);
    function basisClick(event:MouseEvent):void{
        gotoAndPlay(200);

  • Certain websites will not load at certain times.

    Hi,
      for the last few weeks, I have been having difficulty with loading certain websites at certain times of the day.  The problem is affecting websites that I've been using for years, such as hotmail, Facebook, eBay, BBC Newsfeeds, Lego website, CBBC, to name a few.  It happens whether I use a bookmark, a hyperlink or whether I type it in, myself.  The page will start to load, then just hang,with the loading wheel spinning.  The page does not freeze and you can stop, go back, reload etc.  Sometimes, ebay or hotmail will load eventually, but there will be no, or only a few pictures and the website will consist of just a list of text headings where buttons and frames should be. 
    The problem exists in Firefox (3.6.25) and in Safari and Internet Explorer (the latter two are fairly old versions.  Firefox is my default browser).  The problem is the worst around the local afternoon and seems to go away entirely at about 11 o'clock in the evening.  This is way in excess of local high volume times and other image and video heavy sites work fine during the outages.  Other secure (http) sites work during the outages, too.  This doesn't happen every day and appears both on weekdays and weekends.  When I have outages lasting several hours, I have looked on the wider web (Google always seems to work) and I can find no traffic suggesting that significant numbers of other users are having  problem.
    So far, I have done the following:
    cleared out cookies and the cache.
    reinstalled Firefox
    restarted the router
    carried out a virus scan using ClamXav
    disabled all security and blockers
    disabled all add-ons
    started Firefox in Safe Mode
    None of the above made any improvement.  Then, suddenly just before 11pm, everything started working, as per previous nights.
    This is very strange behaviour which is extremely annoying and disruptive.  Can anyone help, please?
    I'm using a G5 2.7 with OSX ver 10.4.11.  I have not changes the hardware and software seetting for many months (that I'm aware of) nor have I installed any new software (that I"m aware of).
    Yours Aye
    Stuadh

    BDAqua,
      thanks but already done.  I've tried an old laptop and although it was loading the offending pages this evening, it was taking 20 mins to load each page.  I need to go to my ISP, I reckon.
      Yet again, all the relevant pages go down at around 1700 and then spring to life again at 2300.
    Stuadh

  • Cannot pause or preview animation to a certain time point.

    Hello All,
    I have Adobe Captivate 4. I am leaving my work in 2 weeks time and i have been asked to record and talk about the software applications i use for my job.
    I record my application (Autodesk Inventor) and it inserts the full motion preview into the slide. However i want to add highlight boxes, captions, text etc etc. So i use the timeline at the bottom and drag it to the right. As i am dragging it to lets say 20 seconds into the slide the animation (recording) is previwing as its meant to do. But once i release the mouse and leave the point to 20 seconds the animation previews at 0 seconds and no longer 20 seconds. But the red slider is still on 20 seconds (hope i am making sense here).
    Its extremly fustrating because i cant add highlight boxes, text, captions etc because i cant get the animation to preview and stop at a certain time point.
    Anyone know the cause of this?
    I am using Windows 7 64-bit and i have ran the application as administrator.
    Thanks
    Ben

    Hi there
    Perhaps it will help to explain how to exploit what is quite possibly a bug in Captivate.
    Using the technique of scrubbing the playhead (clicking and dragging the playhead on the Timeline) keep the mouse button clicked as you press Alt+Tab to shift focus to another application. (the other application should be running full screen)
    After the other application gains focus, release the mouse button.
    Press Alt+Tab to return to Captivate.
    What you should see at this point is that Captivate should behave as if you paused it. The playhead should be right where you left it with everything in view. You should now be able to insert a Text Caption or other object.
    While I'm aware it's likely not what you were hoping for, perhaps it's better than nothing?
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Identify/expire Pages that have not been accessed for certain time

    Hi,
    I would like to create a publishing portal. Many users are able to create pages. I have the requirement that if a page does not get accessed for a certain time-period - it should be flagged for deletion and the creator should be notified by email.
    Expiration policies depend on creation/modification date. Does this work for the last-accessed time (whereever I get this information from) aswell?
    Sven 

    Use below powershell
    $outputPath = Read-Host “Outputpath (e.g. C:\output\UnusedSites.txt)”
    $lastDate=Read-Host “Last Accessed Date (in format mm/dd/yyyy)”
    $gc = Start-SPAssignment
    $site=$gc | get-spsite -Identity https://sitecollectionUrl
    foreach($web in $site.AllWebs)
    if ($web.LastItemModifiedDate -lt $lastDate)
    Write-Host -f Red “Site is old…” + $Web.Title
    Add-Content -Path $outputPath -Value “$($web.Title),$($web.ServerRelativeUrl),
    $($web.LastItemModifiedDate),$($web.Author)”
    else
    Write-Host -f Green “Site: [" + $web.Title + "] Last Modified Date: ” + $web.LastItemModifiedDate
    Stop-SPAssignment $gc
    Or
    plan to use this tool
    http://www.harepoint.com/Products/HarePointAnalyticsForSharepoint/FindOutdatedContentInSharePoint.aspx

  • Issue on Service Ports for outgoing connection

    Hi,
    My question is regarding to my desktop Mac making outgoing connection to an external IP address 184.84.124.244 using TCP protocol destination port 443 but using 40 Service Ports between 49170 through 49217.  This is an automatic outgoing connection by OS X 10.7.3 (I assumed as I did not make that connection).  Why such connection required 40 ports to be opened at the same time?  Anyone have any idea what might have caused that?  Thanks.

    There could be lots of outgoing connections when you fire up Safari, as an example, because by default it has many favourites that are RSS feeder. You could have added some new yourself.
    How do I find out if those connections stay up indefinitely?
    By the way just curious, how did you look up the IP address as who they are?
    If you are "Terminal aware" there are some commands that can help you in this direction
    host
    host is a simple utility for performing DNS lookups. It is normally used to convert names to IP addresses and vice versa. When no arguments or options are given, host prints a short summary of its command line arguments and options.
    netstat
    show network status
    whois
    The whois utility looks up records in the databases maintained by several Network Information Centers (NICs).
    nslookup
    query Internet name servers interactively
    dig
    dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. Most DNS administrators use dig to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. Other lookup tools tend to have less functionality than dig.
    just to name a few.
    netstat in particular let you know which connections and their relative status are going on between your computer and the rest of the world

Maybe you are looking for