Thanks Thanks:  2
Showing results 1 to 4 of 4

Thread: CRONTAB command in OSS by Citrix

  1. #1
    Member Reputation: 98 hieuphong's Avatar
    Join Date
    2011-12-12
    Location
    Somewhere in your dream
    Posts
    194


    1 out of 1 members found this post helpful.

    Default CRONTAB command in OSS by Citrix

    Dear friends,
    Everday I have to get CNAI dump at 4:00 AM.
    How can I create scheduler BY CRONTAB
    Can I use Citrix to create?
    Please help me ASAP.

    Many thanks.

  2. Thanks william.dg08 thanked for this post
  3. # ADS
    Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many
     

  4. #2
    Member Reputation: 58
    Join Date
    2010-01-07
    Posts
    64


    Default Re: CRONTAB command in OSS by Citrix

    Firstly check whether you have the access for the cron in the system, as it is usually disabled by the administrator.
    If you have the access, you firstly prepare executable script which you want to schedule. Then either thorough VI or ed editor you can write it in crontab.

  5. Thanks electron thanked for this post
  6. #3
    Member Reputation: 26
    Join Date
    2017-01-26
    Posts
    26


    Default Re: CRONTAB command in OSS by Citrix

    crontab -e => for editing scheduled cron
    example: 00 04 * * * yourscript.sh>/directory/log/

    crontab -l => for listing scheduled cron

    crontab -r => for removing active cron


    0 12,14,16 * * * = Run the script every day at 12:00, 14:00 and 16:00
    30 13 * * 0 = Run the script every Sunday at 13:30
    0 12,14,16 * * 6 = Run the script every Saturday at 12:00, 14:00 and 16:00.
    0 0 1,15,20 * * = Run the script on the first, fifteenth and twentieth of every month
    0 */3 * * * = Run the script every day from 3 to 3 hours: 00:00, 03:00, 06:00 etc.

  7. #4
    Member Reputation: 98 hieuphong's Avatar
    Join Date
    2011-12-12
    Location
    Somewhere in your dream
    Posts
    194


    Default Re: CRONTAB command in OSS by Citrix

    Hi friends,
    Please show me which problem when I use command line: cnai export valid -i --output test.txt
    Because CNAI dump is lack of infor.
    Where can I check?

Bookmarks

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •