1"use strict";(self.webpackChunkdocall=self.webpackChunkdocall||[]).push([[1443],{95748:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>m,frontMatter:()=>c,metadata:()=>a,toc:()=>u});var r=t(74848),s=t(28453),i=t(3514),o=t(95068);const c={sidebar_position:1,slug:"/automation"},l="\u81ea\u52a8\u5316\u4efb\u52a1\u7684\u5b9e\u73b0\u4e0e\u7ba1\u7406",a={id:"guide/automation/readme",title:"\u81ea\u52a8\u5316\u4efb\u52a1\u7684\u5b9e\u73b0\u4e0e\u7ba1\u7406",description:"\u672c\u7ae0\u8282\u5c06\u63a2\u8ba8\u7684\u81ea\u52a8\u5316\u4efb\u52a1\u6982\u5ff5\uff0c\u5b83\u4e0d\u4ec5\u4ec5\u5c40\u9650\u4e8e\u4f20\u7edf\u670d\u52a1\u5668\u8ba1\u5212\u4efb\u52a1\uff08\u5982 Crontab\uff09\u6240\u80fd\u63d0\u4f9b\u7684\u529f\u80fd\u3002",source:"@site/versioned_docs/version-2.0/guide/automation/readme.md",sourceDirName:"guide/automation",slug:"/automation",permalink:"/docs/automation",draft:!1,unlisted:!1,editUrl:"https://github.com/websoft9/doc.websoft9.com/tree/dev/versioned_docs/version-2.0/guide/automation/readme.md",tags:[],version:"2.0",lastUpdatedAt:1785398227e3,sidebarPosition:1,frontMatter:{sidebar_position:1,slug:"/automation"},sidebar:"docs",previous:{title:"\u817e\u8baf\u4e91",permalink:"/docs/iaas-tencentcloud"},next:{title:"\u8fd0\u884c\u670d\u52a1\u5668\u8ba1\u5212\u4efb\u52a1",permalink:"/docs/automation-it"}},d={},u=[{value:"\u542f\u52a8\u81ea\u52a8\u5316\u5de5\u5177",id:"\u542f\u52a8\u81ea\u52a8\u5316\u5de5\u5177",level:2},{value:"\u573a\u666f\u6307\u5357",id:"\u573a\u666f\u6307\u5357",level:2},{value:"\u95ee\u9898",id:"\u95ee\u9898",level:2},{value:"n8n \u53ef\u5b9e\u73b0 Crontab \u7684\u529f\u80fd\u5417\uff1f",id:"n8n-\u53ef\u5b9e\u73b0-crontab-\u7684\u529f\u80fd\u5417",level:4},{value:"n8n \u652f\u6301\u8de8\u670d\u52a1\u5668\u5417\uff1f",id:"n8n-\u652f\u6301\u8de8\u670d\u52a1\u5668\u5417",level:4}];function h(e){const n={a:"a",h1:"h1",h2:"h2",h4:"h4",header:"header",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"\u81ea\u52a8\u5316\u4efb\u52a1\u7684\u5b9e\u73b0\u4e0e\u7ba1\u7406",children:"\u81ea\u52a8\u5316\u4efb\u52a1\u7684\u5b9e\u73b0\u4e0e\u7ba1\u7406"})}),"\n",(0,r.jsx)(n.p,{children:"\u672c\u7ae0\u8282\u5c06\u63a2\u8ba8\u7684\u81ea\u52a8\u5316\u4efb\u52a1\u6982\u5ff5\uff0c\u5b83\u4e0d\u4ec5\u4ec5\u5c40\u9650\u4e8e\u4f20\u7edf\u670d\u52a1\u5668\u8ba1\u5212\u4efb\u52a1\uff08\u5982 Crontab\uff09\u6240\u80fd\u63d0\u4f9b\u7684\u529f\u80fd\u3002"}),"\n",(0,r.jsx)(n.p,{children:"\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5b9a\u4e49\u7684\u81ea\u52a8\u5316\u4efb\u52a1\u6d89\u53ca\u5230\u5468\u671f\u6027\u7684\u3001\u57fa\u4e8e\u7279\u5b9a\u89c4\u5219\u7684\u6d3b\u52a8\uff0c\u8fd9\u4e9b\u6d3b\u52a8\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u811a\u672c\u3001\u4f7f\u7528\u4e13\u4e1a\u7684\u5de5\u5177\u6765\u6267\u884c\u3002"}),"\n",(0,r.jsx)(n.p,{children:"\u81ea\u52a8\u5316\u4e0d\u4ec5\u80fd\u591f\u63d0\u5347\u5de5\u4f5c\u6548\u7387\u3001\u964d\u4f4e\u51fa\u9519\u7387\uff0c\u8fd8\u80fd\u91ca\u653e\u4eba\u529b\u8d44\u6e90\uff0c\u8ba9\u4ed6\u4eec\u5c06\u6ce8\u610f\u529b\u8f6c\u5411\u66f4\u9700\u8981\u521b\u9020\u6027\u548c\u590d\u6742\u6027\u7684\u4efb\u52a1\u4e0a\u3002"}),"\n",(0,r.jsxs)(n.p,{children:["\u5728 Websoft9 \u6258\u7ba1\u5e73\u53f0\u4e0a\uff0c\u63a8\u8350\u4f7f\u7528 ",(0,r.jsx)(n.a,{href:"./n8n",children:"n8n"})," \u6765\u6784\u5efa\u81ea\u52a8\u5316\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002n8n \u63d0\u4f9b\u4e86\u4e00\u79cd\u57fa\u4e8e\u56fe\u5f62\u754c\u9762\u7684\u6d41\u7a0b\u8bbe\u8ba1\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u548c\u7ba1\u7406\u591a\u79cd\u81ea\u52a8\u5316\u4efb\u52a1\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"]}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u670d\u52a1\u5668\u7ef4\u62a4\u4efb\u52a1"}),"\uff1a\u6bd4\u5982\u81ea\u52a8\u5316\u7684\u6570\u636e\u5907\u4efd\u3001\u65e5\u5fd7\u6e05\u7406\u3001\u65f6\u95f4\u540c\u6b65\u548c\u5b89\u5168\u626b\u63cf\u7b49\u3002"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"DevOps \u5de5\u4f5c\u6d41"}),"\uff1a\u5305\u62ec\u4ee3\u7801\u5ba1\u67e5\u3001\u6e90\u4ee3\u7801\u7f16\u8bd1\u3001\u81ea\u52a8\u5316\u6d4b\u8bd5\u7b49\u81ea\u52a8\u5316\u6d41\u7a0b\u3002"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u5e94\u7528\u96c6\u62
110"}),"\uff1a\u5b9e\u73b0\u4e0d\u540c\u5e94\u7528\u7cfb\u7edf\u4e4b\u95f4\u7684\u81ea\u52a8\u5316\u6570\u636e\u548c\u6d41\u7a0b\u96c6\u6210\u3002"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u542f\u52a8\u81ea\u52a8\u5316\u5de5\u5177",children:"\u542f\u52a8\u81ea\u52a8\u5316\u5de5\u5177"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["\u901a\u8fc7 Websoft9 \u5e94\u7528\u5546\u5e97\u5b89\u88c5 ",(0,r.jsx)(n.a,{href:"./n8n",children:"n8n"})," \u5e94\u7528"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{src:t(10808).A+"",width:"1548",height:"588"})}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8fdb\u5165\u5230 n8n \u7ba1\u7406\u754c\u9762\uff0c\u5f00\u59cb\u8bbe\u8ba1\u548c\u6267\u884c\u81ea\u52a8\u5316\u4efb\u52a1\uff0c\u4f18\u5316\u60a8\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002"}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u573a\u666f\u6307\u5357",children:"\u573a\u666f\u6307\u5357"}),"\n",(0,r.jsxs)(n.p,{children:["\u4e0b\u9762\u662f\u57fa\u4e8e ",(0,r.jsx)(n.a,{href:"./n8n",children:"n8n"})," \u7684\u5177\u4f53\u4f7f\u7528\u573a\u666f\u6307\u5357\uff1a"]}),"\n",(0,r.jsx)(i.A,{items:(0,o.$S)().items}),"\n",(0,r.jsx)(n.h2,{id:"\u95ee\u9898",children:"\u95ee\u9898"}),"\n",(0,r.jsx)(n.h4,{id:"n8n-\u53ef\u5b9e\u73b0-crontab-\u7684\u529f\u80fd\u5417",children:"n8n \u53ef\u5b9e\u73b0 Crontab \u7684\u529f\u80fd\u5417\uff1f"}),"\n",(0,r.jsx)(n.p,{children:"\u53ef\u4ee5\uff0c\u5e76\u8fdc\u8d85 Crontab"}),"\n",(0,r.jsx)(n.h4,{id:"n8n-\u652f\u6301\u8de8\u670d\u52a1\u5668\u5417",children:"n8n \u652f\u6301\u8de8\u670d\u52a1\u5668\u5417\uff1f"}),"\n",(0,r.jsx)(n.p,{children:"\u652f\u6301\uff0c\u901a\u8fc7 ssh \u8fde\u63a5\u5230\u4efb\u4f55\u670d\u52a1\u5668\u4e0a\u6267\u884c\u81ea\u52a8\u5316"})]})}function m(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},3514:(e,n,t)=>{t.d(n,{A:()=>g});t(96540);var r=t(18215),s=t(26972),i=t(28774),o=t(53465),c=t(16654),l=t(21312),a=t(51107);const d={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var u=t(74848);function h({href:e,children:n}){return(0,u.jsx)(i.A,{href:e,className:(0,r.A)("card padding--lg",d.cardContainer),children:n})}function m({href:e,icon:n,title:t,description:s}){return(0,u.jsxs)(h,{href:e,children:[(0,u.jsxs)(a.A,{as:"h2",className:(0,r.A)("text--truncate",d.cardTitle),title:t,children:[n," ",t]}),s&&(0,u.jsx)("p",{className:(0,r.A)("text--truncate",d.cardDescription),title:s,children:s})]})}function p({item:e}){const n=(0,s.Nr)(e),t=function(){const{selectMessage:e}=(0,o.W)();return n=>e(n,(0,l.T)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:n}))}();return n?(0,u.jsx)(m,{href:n,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:e.description??t(e.items.length)}):null}function f({item:e}){const n=(0,c.A)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",t=(0,s.cC)(e.docId??void 0);return(0,u.jsx)(m,{href:e.href,icon:n,title:e.label,description:e.description??t?.description})}function x({item:e}){switch(e.type){case"link":return(0,u.jsx)(f,{item:e});case"category":return(0,u.jsx)(p,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}}function j({className:e}){const n=(0,s.$S)();return(0,u.jsx)(g,{items:n.items,className:e})}function g(e){const{items:n,className:t}=e;if(!n)return(0,u.jsx)(j,{...e});const i=(0,s.d1)(n);return(0,u.jsx)("section",{className:(0,r.A)("row",t),children:i.map((e,n)=>(0,u.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,u.jsx)(x,{item:e})},n))})}},95068:(e,n,t)=>{function r(...e){return t(44070).$S(...e)}t.d(n,{$S:()=>r})},53465:(e,n,t)=>{t.d(n,{W:()=>a});var r=t(96540),s=t(44586);const i=["zero","one","two","few","many","other"];function o(e){return i.filter(n=>e.includes(n))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function l(){const{i18n:{currentLocale:e}}=(0,s.A)();return(0,r.useMemo)(()=>{try{return function(e){const n=new Intl.PluralRules(e);return{locale:e,pluralForms:o(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${n.message}\n`),c}},[e])}function a(){const e=l();return{selectMessage:(n,t)=>function(e,n,t){const r=e.split("|");if(1===r.length)return r[0];r.length>t.pluralForms.length&&console.error(`For locale=${t.locale}, a maximum of ${t.pluralForms.length} plural forms are expected (${t.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const s=t.select(n),i=t.pluralForms.indexOf(s);return r[Math.min(i,r.length-1)]}(t,n,e)}}},10808:(e,n,t)=>{t.d(n,{A:()=>r});const r=t.p+"assets/images/websoft9-automation-installn8n-1c3579802aecc8bbca1647cf359a115f.png"},28453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>c});var r=t(96540);const s={},i=r.createContext(s);function o(e){const n=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.