LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Command-line Management » How to add new cronjob?
How to add new cronjob? [message #57070] Sat, 21 February 2009 01:41 Go to next message
masters is currently offline masters  United States
Messages: 3
Registered: February 2009
Member
Hello, LxHelp

Is there some command for adding cron jobs via commandline?


Re: How to add new cronjob? [message #57075 is a reply to message #57070] Sat, 21 February 2009 02:22 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion

 
/script/add --parent-class=client --parent-name=admin --class=cron --v-ttype=simple --v-simple_cron=every-day --v-cron_day_hour=6 --v-command="ls -al"


The above is to add a simple cron job, that's executed either 'every-hour' every-day with an cron_day_hour also specified.


On Sat, Feb 21, 2009 at 06:41:27AM -0000, Alex wrote:
>
>
> Hello, LxHelp
>
> Is there some command for adding cron jobs via commandline?
>


Re: How to add new cronjob? [message #88856 is a reply to message #57075] Sun, 11 September 2011 14:37 Go to previous message
alesha is currently offline alesha  Indonesia
Messages: 1
Registered: September 2011
Location: Jakarta
Member

Is it possible with crontab -e or vi /var/spool/cron/root?
Previous Topic:mail accounts created by shell commands don't show up
Next Topic:Add and Delete address from a mailing list
Goto Forum:
  


Current Time: Sun May 26 03:17:46 EDT 2013

Total time taken to generate the page: 0.01481 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software