Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 12, 2013, 03:25 PM   #1
ll PiStoNs ll
macrumors regular
 
Join Date: Aug 2007
Use Automator To Track Length of Time Logged In?

Hey guys,

I work remotely and report my hours online every two weeks, then receive a paycheck based on what I report. I would like to report my hours with better accuracy so I decided to create a work account on my MBA so every night I can log in to that account and do solely hourly work. Is there any automator script I could write or free 3rd party applications I could use to easily track and report the length of time I was logged into my work account every two weeks?

Thank you!
ll PiStoNs ll is offline   0 Reply With Quote
Old Mar 12, 2013, 04:46 PM   #2
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
Take a look at the last command in Terminal. Or a login/logout hook where you dump a timestamp into a logfile.

Info : http://hints.macworld.com/article.ph...06081701162739
http://reviews.cnet.com/8301-13727_7-20029495-263.html


Quote:
NAME
last -- indicate last logins of users and ttys

SYNOPSIS
last [-n] [-f file] [-h host] [-t tty] [user ...]

DESCRIPTION
Last will list the sessions of specified users, ttys, and hosts, in
reverse time order. Each line of output contains the user name, the tty
from which the session was conducted, any hostname, the start and stop
times for the session, and the duration of the session. If the session
is still continuing or was cut short by a crash or shutdown, last will so
indicate.
__________________
Space Corps Directive 34124
kryten2 is offline   0 Reply With Quote
Old Mar 15, 2013, 10:04 AM   #3
ll PiStoNs ll
Thread Starter
macrumors regular
 
Join Date: Aug 2007
Thank you kryten!!! Much appreciated
ll PiStoNs ll is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Automator stay logged into web app PicnicTutorials Mac Applications and Mac App Store 3 Jan 20, 2014 07:46 AM
Handbrake shows different Time length Tech198 Digital Video 0 Jan 8, 2014 03:05 AM
Has the time to be logged out been lowered? smithrh Site and Forum Feedback 4 Jul 1, 2013 01:19 PM
iPhone Track Length (mp3)? BostonKingKush iPhone Tips, Help and Troubleshooting 0 Dec 11, 2012 10:45 PM
Help with Time lapse using iMovie (want to fit to song length) OrangeSVTguy Mac Applications and Mac App Store 1 Aug 13, 2012 09:25 PM

Forum Jump

All times are GMT -5. The time now is 03:56 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC