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

RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos