You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Debian系统中at/atd命令使用问题:无法找到对应包或路径

Fixing Missing at/atd on Debian 8 Jessie

Hey there! Let's get your task scheduling with at/atd working on your Debian 8 system. Based on your kernel info, you're running Debian 8 (Jessie), so here's the step-by-step fix:

  • Install the required package
    The at command and atd daemon are both included in the at package, which isn't installed by default on some Debian setups. Run these commands to install it:

    sudo apt-get update && sudo apt-get install at
    
  • Start and enable the atd daemon
    After installation, you need to make sure the atd service is running so scheduled tasks get executed. For Debian 8 (which uses systemd by default):

    sudo systemctl start atd
    sudo systemctl enable atd
    

    If you're using the old SysV init system instead, use these commands:

    sudo service atd start
    sudo update-rc.d atd defaults
    
  • Verify everything works
    Check if at is now available by running:

    which at
    

    You should see output like /usr/bin/at. You can also test scheduling a quick task to confirm, for example:

    echo "echo 'Test task ran!' >> ~/at_test.txt" | at now +1 minute
    

    Wait a minute, then check the at_test.txt file in your home directory to see if the task executed.

内容的提问来源于stack exchange,提问作者Jbertrand

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 09:48:36