Færdiggjort

Deleting photos from server by date

This will be a cron-scheduled PHP script, password protected, not for public viewing. Purely functional. The script will check a MySQL dB to see if a datetime field has been updated within the last 24 hrs. If it has, a flag field will be set to "0". Then photos associated with these entries will be deleted from server. Complete filenames are NOT in the dB; associated photos are named using the dB entry's ID number, such as [url removed, login to view], [url removed, login to view], etc., where 76534 is the ID field in the dB. There are varying numbers of images per entry.

## Deliverables

Script should have verbose output since it is not publicly viewable. Screen output should specify things such as success, failure, filenames that will be deleted, and deletion success. Script should exit gracefully if there are no entries that need updating, hence, no files that need to be deleted. The update interval should be easily changeable in the event the cron scheduling needs to be changed, i.e. instead of finding entries that have been updated in the last 1 day, it could be changed to finding entries updated in the past 3 days, or another arbitrary number of days. These buyer changes will be made directly in the code, no "front-end" necessary.

Need working script completed within 24 hours.

PHP v5.2, MySQL v5.

Evner: Ingeniørarbejde, MySQL, PHP, Projekt Ledelse, Software Arkitektur, Software Testning, Web Hosting, Hjemmeside Management, Hjemmeside Testning

Se mere: cron management, project management scheduling, deleting, end event management, datetime, mysql date field, mysql date within days, mysql date days, day php date, arbitrary, date days php, event management code, mysql scheduling, code project server 2010, project flag, event management using php, php mysql event script, event management php mysql, php script viewing, flag images

Om arbejdsgiveren:
( 137 bedømmelser ) Wilmington, United States

Projekt ID: #3313802

Tildelt til:

vasiliysorokin

See private message.

$34 USD på 1 dag
(2 bedømmelser)
2.3

8 freelancere byder i gennemsnit $33 på dette job

vw1621783vw

See private message.

$21.25 USD på 1 dag
(187 bedømmelser)
6.0
sunilexpert

See private message.

$34 USD på 1 dag
(68 bedømmelser)
5.9
ModularGuy

See private message.

$29.75 USD på 1 dag
(40 bedømmelser)
5.8
softwsol

See private message.

$38.25 USD på 1 dag
(33 bedømmelser)
5.4
vipinsingla

See private message.

$42.5 USD på 1 dag
(29 bedømmelser)
4.1
netcochin

See private message.

$21.25 USD på 1 dag
(15 bedømmelser)
3.4
aarrvw

See private message.

$42.5 USD på 1 dag
(12 bedømmelser)
3.4