---
title: "whenever no crontab"
author: "flowerwrong"
date: "2014-11-18T22:14:12Z"
tags: []
categories: ["编程语言"]
slug: "whenever-no-crontab"
draft: false
lastmod: "2014-11-18T22:14:12Z"
id: 2157776
url: "https://flowerwrong.iteye.com/blog/2157776"
---

```
# http://stackoverflow.com/questions/7548730/cron-job-not-working-in-whenever-gem
whenever --update-crontab
sudo service cron restart
crontab -l
```