2 Replies - 869 Views - Last Post: 10 March 2013 - 05:46 PM

#1 Jagst3r15  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 77
  • Joined: 21-December 10

Help creating a crontab file

Posted 09 March 2013 - 09:03 PM

Hi everyone,

I am trying to create a crontab file that will append a list of current users to a file on Monday through Friday on the hour from 9am till 6pm.

Here is what I have come up with:

00,60 09-18 * * 1-5 users >> /var/home/stud3/jgeiger4/myfile


Does that seem right?
Is This A Good Question/Topic? 0
  • +

Replies To: Help creating a crontab file

#2 Takk  Icon User is offline

  • D.I.C Head

Reputation: 40
  • View blog
  • Posts: 111
  • Joined: 08-March 13

Re: Help creating a crontab file

Posted 09 March 2013 - 09:52 PM

You can replace the 00,60 with 0 and the rest should get it done

This post has been edited by Takk: 09 March 2013 - 09:52 PM

Was This Post Helpful? 0
  • +
  • -

#3 Jagst3r15  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 77
  • Joined: 21-December 10

Re: Help creating a crontab file

Posted 10 March 2013 - 05:46 PM

Thanks!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1