create group and all users put into group and set crontab for group crontab -g (group)
OK Hiren (RHCE,MCSE) On 8/14/09, Daniel Eggleston <[email protected]> wrote: > > The first few lines of the crontab manpage: > NAME > > crontab -- maintain crontab files for individual users (V3) > > SYNOPSIS > crontab [-u user] file > so, you just create a file with the crontab you want, then cycle through > all the users, running that command as root (this is easily scriptable). > On Thu, Aug 13, 2009 at 10:09 AM, Ankur Kumar <[email protected]> wrote: > >> >> Hi, >> >> I am not sure on how to setup a cron job even before a user logs into >> his / her account. As of now i can make out every user has his/her own >> crontab file using the crontab -e or crontab . But if i want a set of >> cron jobs common to all users, how do i setup a cron job before the >> user logs in? can i setup the jobs in the init.d file. >> >> Thanks >> Ankur >> >> >> > > > > -- > > Daniel > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
