Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong voice path add feat ftp upload housekeeper #125

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tuaminx
Copy link
Contributor

@tuaminx tuaminx commented Jan 22, 2017

  • Fix worng path of voice files
  • Add default crontab file for root user
  • Add 2 feature script: ftp-upload, housekeeper

@fritz-smh

Fix the incorrect of voice files
When booting up, crond daemon is started up and folder
/var/spool/cron/crontabs is created. That jusr ensure crond starting
has not error.
This commit make he default crontab file for root user under above
folder which is modified by "contab -e" command
Add 2 scripts:
- ftp_upload: upload recorded video to FTP service. Executed by
cronjob. Configuration in yi-hack.cfg
- housekeeper: cleanup old recorded videos, check reachable gateway
to alert to log file. Executed by cronjob. Configuration in
yi-hack.cfg
death2all110 added a commit to death2all110/yi-hack that referenced this pull request Mar 30, 2017
Thanks to Tuamninx for his PR here:
fritz-smh#125

Add 2 scripts:
- ftp_upload: upload recorded video to FTP service. Executed by
cronjob. Configuration in yi-hack.cfg
- housekeeper: cleanup old recorded videos, check reachable gateway
to alert to log file. Executed by cronjob. Configuration in
yi-hack.cfg
@joaoasilva
Copy link

joaoasilva commented May 1, 2017

Can someone help me on what should I put on the crontab to enable ftp video upload?
I've tried * * * * * /home/hd1/test/scripts/ftp_upload/ftp_upload.sh but it doesn't seem to do anything.

Thanks

@hyptechdev2015
Copy link

chautruongthinh pushed a commit to chautruongthinh/yi-hack that referenced this pull request Jun 6, 2018
Thanks to Tuamninx for his PR here:
fritz-smh/yi-hack#125

Add 2 scripts:
- ftp_upload: upload recorded video to FTP service. Executed by
cronjob. Configuration in yi-hack.cfg
- housekeeper: cleanup old recorded videos, check reachable gateway
to alert to log file. Executed by cronjob. Configuration in
yi-hack.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants