在终端启动后台应用

注意:终端关闭,应用也会关闭。

  1. n8n启动
$ nohup n8n > ~/myapps/n8n/n8n.log 2>&1 < /dev/null &

启动后请访问 http://localhost:5678/

2. Chrome CDP 模式启动

$ nohup /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
  --remote-debugging-port=9222 \
  --user-data-dir=/Users/chengxinsun/agentql/agentql-apps/apps/output/user_data_dir \
  --lang=en-US \
  --timezone=America/Los_Angeles \
  --disable-geolocation \
  --disable-shared-workers \
  >/Users/chengxinsun/myapps/chrome_cdp/output/chrome.log 2>&1 < /dev/null &

时区: –timezone=Asia/Singapore, –timezone=Europe/Berlin,用9222端口连接

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注