Crontab not working as expected [duplicate]Why is my crontab not working, and how can I troubleshoot it?Can I run a cron job more frequently than every minute?shell script won't work in cronegrep not working in crontabParticular crontab not working on centos 6.2Why is my crontab not working, and how can I troubleshoot it?Crontab is not workingsimple crontab every 5min not workingPuppet: Cannot find class croncrontab day of month not workingfind -delete works OK, but not with cronhow to get rid of awstat www-data daemon?

A IP can traceroute to it, but can not ping

Why do some employees fill out a W-4 and some don't?

is it possible for a vehicle to be manufactured witout a catalitic converter

Why didn't Voldemort recognize that Dumbledore was affected by his curse?

Wooden cooking layout

Winning Strategy for the Magician and his Apprentice

Jargon request: "Canonical Form" of a word

Can Rydberg constant be in joules?

Geopandas and QGIS Calulating Different Polygon Area Values?

Certain search in list

When would it be advantageous not apply Training Ground's cost reduction?

Overlapping String-Blocks

What is the actual quality of machine translations?

You have (3^2 + 2^3 + 2^2) Guesses Left. Figure out the Last one

How come the nude protesters were not arrested?

Implement Own Vector Class in C++

Generate basis elements of the Steenrod algebra

How to safely destroy (a large quantity of) valid checks?

Tabular make widths equal

Using "subway" as name for London Underground?

How to communicate to my GM that not being allowed to use stealth isn't fun for me?

Colloquialism for “see you later”

Why can my keyboard only digest 6 keypresses at a time?

Does the Long March-11 increase its thrust after clearing the launch tower?



Crontab not working as expected [duplicate]


Why is my crontab not working, and how can I troubleshoot it?Can I run a cron job more frequently than every minute?shell script won't work in cronegrep not working in crontabParticular crontab not working on centos 6.2Why is my crontab not working, and how can I troubleshoot it?Crontab is not workingsimple crontab every 5min not workingPuppet: Cannot find class croncrontab day of month not workingfind -delete works OK, but not with cronhow to get rid of awstat www-data daemon?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0
















This question already has an answer here:



  • Can I run a cron job more frequently than every minute?

    8 answers



  • Why is my crontab not working, and how can I troubleshoot it?

    6 answers



I have cron job set to run every 30 secs.



But, it does not do anything.



I have confirmed the action works manually, just not when within cron.



full paths given, permissions are correct.



Below are both ways i have tried. Why might this not be working?
(On Raspbian)



*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -exec rm -v + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;

*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -delete + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;









share|improve this question













marked as duplicate by Michael Hampton May 23 at 0:02


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • 1





    That's every 30 minutes, not every 30 seconds.

    – Michael Hampton
    May 23 at 0:01

















0
















This question already has an answer here:



  • Can I run a cron job more frequently than every minute?

    8 answers



  • Why is my crontab not working, and how can I troubleshoot it?

    6 answers



I have cron job set to run every 30 secs.



But, it does not do anything.



I have confirmed the action works manually, just not when within cron.



full paths given, permissions are correct.



Below are both ways i have tried. Why might this not be working?
(On Raspbian)



*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -exec rm -v + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;

*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -delete + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;









share|improve this question













marked as duplicate by Michael Hampton May 23 at 0:02


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • 1





    That's every 30 minutes, not every 30 seconds.

    – Michael Hampton
    May 23 at 0:01













0












0








0









This question already has an answer here:



  • Can I run a cron job more frequently than every minute?

    8 answers



  • Why is my crontab not working, and how can I troubleshoot it?

    6 answers



I have cron job set to run every 30 secs.



But, it does not do anything.



I have confirmed the action works manually, just not when within cron.



full paths given, permissions are correct.



Below are both ways i have tried. Why might this not be working?
(On Raspbian)



*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -exec rm -v + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;

*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -delete + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;









share|improve this question















This question already has an answer here:



  • Can I run a cron job more frequently than every minute?

    8 answers



  • Why is my crontab not working, and how can I troubleshoot it?

    6 answers



I have cron job set to run every 30 secs.



But, it does not do anything.



I have confirmed the action works manually, just not when within cron.



full paths given, permissions are correct.



Below are both ways i have tried. Why might this not be working?
(On Raspbian)



*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -exec rm -v + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;

*/30 * * * * find /var/lib/motion/*.jpg -type f -mmin +1 -delete + | printf "=%.0s" $(seq 1 63) ; printf "n" ; wc -l ; printf "items deleted - " ; date -u ; >> /var/lib/motion/deleted.log;




This question already has an answer here:



  • Can I run a cron job more frequently than every minute?

    8 answers



  • Why is my crontab not working, and how can I troubleshoot it?

    6 answers







cron raspbian






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 22 at 23:54









DerpleDerple

1116




1116




marked as duplicate by Michael Hampton May 23 at 0:02


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Michael Hampton May 23 at 0:02


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









  • 1





    That's every 30 minutes, not every 30 seconds.

    – Michael Hampton
    May 23 at 0:01












  • 1





    That's every 30 minutes, not every 30 seconds.

    – Michael Hampton
    May 23 at 0:01







1




1





That's every 30 minutes, not every 30 seconds.

– Michael Hampton
May 23 at 0:01





That's every 30 minutes, not every 30 seconds.

– Michael Hampton
May 23 at 0:01










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company