UNSOLVED

azbmw

updated

10 years ago

A

azbmw

2 Posts

0

6748

November 28th, 2016 14:00

OneFS 8 Crontab

How do I run a script in crontab for OneFS8?

I know about the isi_ropc but where do I put the command to run my bash script i made?

  • Phil.Lam

    4 Apprentice

    •

    642 Posts

    •

    15 Points

    4789

    0

    Posted November 28th, 2016 22:00

  • Peter_Sero

    6 Operator

    •

    1169 Posts

    4789

    0

    Posted November 29th, 2016 07:00

    Look at the comments in the file /etc/crontab

    for which actual files to modify:

    # X: ----------------

    # X: This file is automatically generated and should not be

    # X: edited directly.  If you must make changes to the

    # X: contents of this file it should be done as follows:

    # X:   cluster-wide: edit /etc/mcp/override/crontab.smbtime

    # X:   local-only: create/edit /etc/local/crontab.local

    # X: Refer to the sections below for more information.

    # X: ----------------

  • Phil.Lam

    4 Apprentice

    •

    642 Posts

    •

    15 Points

    4789

    0

    Posted November 30th, 2016 20:00

    crontab.smbtime still works on OneFS 8:

    location:  /etc/mcp/override/crontab.smbtime

  • Peter_Sero

    6 Operator

    •

    1169 Posts

    4789

    0

    Posted November 30th, 2016 21:00

    yes, it is automatically merged into /etc/crontab